X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=grading%2Fuserprog%2Fmulti-parent-fd.c;h=56e10b13bd6c7bf941b1897fff915c968cbf29f2;hp=4a8c89fae509f67ab2b4693c6e9ffa951375299c;hb=2cfc156c39840ce7f1cda6b473de1322691a8a0b;hpb=63bae7d91cfdc5d6f73b52702ecb6dcca515496c diff --git a/grading/userprog/multi-parent-fd.c b/grading/userprog/multi-parent-fd.c index 4a8c89f..56e10b1 100644 --- a/grading/userprog/multi-parent-fd.c +++ b/grading/userprog/multi-parent-fd.c @@ -20,7 +20,7 @@ main (void) snprintf (child_cmd, sizeof child_cmd, "child-close %d", handle); - printf ("(multi-child-fd) join(exec()) = %d\n", join (exec (child_cmd))); + printf ("(multi-child-fd) wait(exec()) = %d\n", wait (exec (child_cmd))); byte_cnt = read (handle, actual, sizeof actual - 1); if (byte_cnt != sizeof actual - 1)