change patch again, this time to keep Eelco happy

svn path=/nixpkgs/trunk/; revision=5969
This commit is contained in:
Armijn Hemel 2006-07-27 16:57:58 +00:00
parent 020ecb474f
commit 05fad51550

View file

@ -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")));