Displaying 1 result from an estimated 1 matches for "a60c3b".
Did you mean:
a60c3be
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...dprintf("kinit: Waiting for linuxrc to complete...\n");
- while (waitpid(pid, NULL, 0) != pid) ;
+ while (waitpid(pid, NULL, 0) != pid)
+ ;
dprintf("kinit: linuxrc done\n");
} else {
return -errno;
diff --git a/usr/kinit/kinit.c b/usr/kinit/kinit.c
index 4a1f40b..a60c3be 100644
--- a/usr/kinit/kinit.c
+++ b/usr/kinit/kinit.c
@@ -26,14 +26,12 @@ void dump_args(int argc, char *argv[])
printf(" argc == %d\n", argc);
- for (i = 0; i < argc; i++) {
+ for (i = 0; i < argc; i++)
printf(" argv[%d]: \"%s\"\n", i, argv[i]);
- }...