summaryrefslogtreecommitdiff
path: root/user/usertests.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2020-11-05 19:00:37 -0500
committerFrans Kaashoek <[email protected]>2020-11-05 19:50:46 -0500
commit60b63b9d077f2c9d722e8572e5e78379cfaef796 (patch)
treef2265b56000465e5adaee045b66e018c97463a94 /user/usertests.c
parentef97f65025b3704a90fbde79ef3ce3a38bcb6899 (diff)
downloadxv6-labs-60b63b9d077f2c9d722e8572e5e78379cfaef796.tar.gz
xv6-labs-60b63b9d077f2c9d722e8572e5e78379cfaef796.tar.bz2
xv6-labs-60b63b9d077f2c9d722e8572e5e78379cfaef796.zip
x
Diffstat (limited to 'user/usertests.c')
-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);