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