Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon] / grading / vm / mmap-exit.c
index f49d78eef9f3f604a25893919676963bc183790b..3601df8e216f3b2755aeb28a1fd563e73c562f1a 100644 (file)
@@ -27,10 +27,10 @@ main (void)
       printf ("(mmap-exit) exec() failed\n");
       return 1;
     }
-  code = join (child);
+  code = wait (child);
   if (code != 234) 
     {
-      printf ("(mmap-exit) join() returned bad exit code: %d\n", code);
+      printf ("(mmap-exit) wait() returned bad exit code: %d\n", code);
       return 1;
     }
   printf ("(mmap-exit) child finished\n");