summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2020-11-05 19:00:37 -0500
committerFrans Kaashoek <[email protected]>2020-11-05 19:00:37 -0500
commit9599a8e616dc5a1aa6b0c3b7c0c6ed9ffdf5e67a (patch)
treef2265b56000465e5adaee045b66e018c97463a94
parentd7b308fe81b9fdee1f6060f847b37a252214266a (diff)
downloadxv6-labs-9599a8e616dc5a1aa6b0c3b7c0c6ed9ffdf5e67a.tar.gz
xv6-labs-9599a8e616dc5a1aa6b0c3b7c0c6ed9ffdf5e67a.tar.bz2
xv6-labs-9599a8e616dc5a1aa6b0c3b7c0c6ed9ffdf5e67a.zip
x
-rw-r--r--user/usertests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/usertests.c b/user/usertests.c
index 9be687a..ba4255b 100644
--- a/user/usertests.c
+++ b/user/usertests.c
@@ -793,7 +793,7 @@ killstatus(char *s)
exit(1);
}
if(pid1 == 0){
- for (int j = 0; j < 1000; j++) {
+ while(1) {
getpid();
}
exit(0);