diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-27 16:57:58 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-27 16:57:58 +0000 |
commit | 05fad51550e08310e6293a9e1e0708c41afd618b (patch) | |
tree | 69df12c35d01a73e5f409f646af9a3ccc25f4428 /pkgs/os-specific | |
parent | 020ecb474feb221c5215e59e9b4d5e99e7908f4e (diff) |
change patch again, this time to keep Eelco happy
svn path=/nixpkgs/trunk/; revision=5969
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/module-init-tools/module-dir.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/module-init-tools/module-dir.patch b/pkgs/os-specific/linux/module-init-tools/module-dir.patch index 0bf049f77f7fd..ac5fb1bd12e91 100644 --- a/pkgs/os-specific/linux/module-init-tools/module-dir.patch +++ b/pkgs/os-specific/linux/module-init-tools/module-dir.patch @@ -146,7 +146,7 @@ diff -rc module-init-tools-3.2.2/modprobe.c module-init-tools-3.2.2.new/modprobe ! module_dir = "/lib/modules"; ! } ! -! dirname = NOFAIL(malloc(strlen(buf.release) + strlen(module_dir) + 1)); +! dirname = NOFAIL(malloc(strlen(buf.release) + strlen(module_dir) + 2)); ! sprintf(dirname, "%s/%s", module_dir, buf.release); aliasfilename = NOFAIL(malloc(strlen(dirname) + sizeof("/modules.alias"))); |