From 60b63b9d077f2c9d722e8572e5e78379cfaef796 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 5 Nov 2020 19:00:37 -0500 Subject: [PATCH] x --- user/usertests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);