git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:Minep/lunaix-os
[lunaix-os.git]
/
lunaix-os
/
kernel
/
lxinit.c
diff --git
a/lunaix-os/kernel/lxinit.c
b/lunaix-os/kernel/lxinit.c
index 57e2bda22421da102c8b063bca8adfd2f1fd58c4..2ac93422844506d72cb21557b75aa938ee1defec 100644
(file)
--- a/
lunaix-os/kernel/lxinit.c
+++ b/
lunaix-os/kernel/lxinit.c
@@
-41,6
+41,7
@@
_lxinit_main()
kprintf("I am child, I am about to terminated\n");
_exit(1);
}
kprintf("I am child, I am about to terminated\n");
_exit(1);
}
+ wait(&status);
pid_t child = wait(&status);
kprintf("I am parent, my child (%d) terminated normally with code: %d.\n",
child,
pid_t child = wait(&status);
kprintf("I am parent, my child (%d) terminated normally with code: %d.\n",
child,