Fix "%d"s that should be "%zu"s.
[pintos-anon] / grading / userprog / write-boundary.c
index a31dad064feeb9c9aa9ce995108ff32f1252734d..860e2a278c56ddb5ed7f014708215955fa772ba3 100644 (file)
@@ -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");