diff options
author | Robert Morris <rtm@csail.mit.edu> | 2019-07-05 12:33:26 -0400 |
---|---|---|
committer | Robert Morris <rtm@csail.mit.edu> | 2019-07-05 12:33:26 -0400 |
commit | 75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3 (patch) | |
tree | 5d9af9b9de3dc3b92ec51f28e164a9504b9717d5 /user/init.c | |
parent | f59c1bf1d82da4b445c1cff10c228ea55fa035d4 (diff) | |
download | xv6-labs-75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3.tar.gz xv6-labs-75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3.tar.bz2 xv6-labs-75b0c6fc91c1264aaa5d080d9faeb87c90d02ad3.zip |
back-port fork/exit/exit tests to xv6-riscv
Diffstat (limited to 'user/init.c')
-rw-r--r-- | user/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/user/init.c b/user/init.c index f36ba31..03e60da 100644 --- a/user/init.c +++ b/user/init.c @@ -31,7 +31,8 @@ main(void) printf(1, "init: exec sh failed\n"); exit(); } - while((wpid=wait()) >= 0 && wpid != pid) - printf(1, "zombie!\n"); + while((wpid=wait()) >= 0 && wpid != pid){ + //printf(1, "zombie!\n"); + } } } |