diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-06-26 17:19:40 -0400 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-06-26 17:19:40 -0400 |
commit | 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 (patch) | |
tree | ad8cc17bfd3b5e57e36f07a249028667d72f0b96 /init | |
parent | ba6d2377c85c9b8a793f455d8c9b6cf31985d70f (diff) | |
parent | 8678887e7fb43cd6c9be6c9807b05e77848e0920 (diff) |
Automatic merge with /usr/src/ntfs-2.6.git.
Diffstat (limited to 'init')
-rw-r--r-- | init/do_mounts_initrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 07e7d31f2d..4def882d0b 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c | |||
@@ -41,7 +41,7 @@ static int __init do_linuxrc(void * shell) | |||
41 | static void __init handle_initrd(void) | 41 | static void __init handle_initrd(void) |
42 | { | 42 | { |
43 | int error; | 43 | int error; |
44 | int i, pid; | 44 | int pid; |
45 | 45 | ||
46 | real_root_dev = new_encode_dev(ROOT_DEV); | 46 | real_root_dev = new_encode_dev(ROOT_DEV); |
47 | create_dev("/dev/root.old", Root_RAM0, NULL); | 47 | create_dev("/dev/root.old", Root_RAM0, NULL); |
@@ -58,7 +58,7 @@ static void __init handle_initrd(void) | |||
58 | 58 | ||
59 | pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD); | 59 | pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD); |
60 | if (pid > 0) { | 60 | if (pid > 0) { |
61 | while (pid != sys_wait4(-1, &i, 0, NULL)) | 61 | while (pid != sys_wait4(-1, NULL, 0, NULL)) |
62 | yield(); | 62 | yield(); |
63 | } | 63 | } |
64 | 64 | ||