mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
change patch again, this time to keep Eelco happy
svn path=/nixpkgs/trunk/; revision=5969
This commit is contained in:
parent
020ecb474f
commit
05fad51550
1 changed files with 1 additions and 1 deletions
|
@ -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")));
|
||||
|
|
Loading…
Reference in a new issue