X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fuserprog%2Fwrite-boundary.c;h=860e2a278c56ddb5ed7f014708215955fa772ba3;hb=2b9737aa0756ce44b2f97ca3aa348a496c8769a9;hp=a31dad064feeb9c9aa9ce995108ff32f1252734d;hpb=6e37e2d09df0c11d77e0516cbc03c850eb72b8da;p=pintos-anon diff --git a/grading/userprog/write-boundary.c b/grading/userprog/write-boundary.c index a31dad0..860e2a2 100644 --- a/grading/userprog/write-boundary.c +++ b/grading/userprog/write-boundary.c @@ -30,7 +30,7 @@ main (void) byte_cnt = write (handle, sample_p, sizeof sample - 1); if (byte_cnt != sizeof sample - 1) - printf ("(write-boundary) fail: write() returned %d instead of %d\n", + printf ("(write-boundary) fail: write() returned %d instead of %zu\n", byte_cnt, sizeof sample - 1); printf ("(write-boundary) end\n");