Displaying 1 result from an estimated 1 matches for "1c3ec56".
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...| 3 ++-
usr/kinit/kinit.c | 12 ++++--------
usr/kinit/kinit.h | 20 ++++++++++----------
usr/kinit/name_to_dev.c | 6 +++---
usr/kinit/nfsroot.c | 5 ++---
5 files changed, 21 insertions(+), 25 deletions(-)
diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c
index 1c3ec56..d2efc59 100644
--- a/usr/kinit/initrd.c
+++ b/usr/kinit/initrd.c
@@ -122,7 +122,8 @@ static int run_linuxrc(int argc, char *argv[], dev_t root_dev)
_exit(255);
} else if (pid > 0) {
dprintf("kinit: Waiting for linuxrc to complete...\n");
- while (waitpid(pid, NULL, 0) != pid)...