[klibc] Patch for utils/run-init.c
H. Peter Anvin
hpa at zytor.com
Sun Oct 17 14:30:17 PDT 2004
Daniel Thaler wrote:
>
> --- utils/run-init.c.old 2004-10-17 18:23:46.000000000 +0000
> +++ utils/run-init.c 2004-10-17 18:24:13.000000000 +0000
> @@ -188,7 +188,7 @@
> initargs = argv+optind+1;
>
> /* First, change to the new root directory */
> - if ( chdir(argv[1]) )
> + if ( chdir(realroot) )
> die("chdir to new root");
>
> /* This is a potentially highly destructive program. Take some
>
Applied and pushed as 0.186.
-hpa
More information about the klibc
mailing list