projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More to-do.
[pintos-anon]
/
grading
/
userprog
/
write-normal.c
diff --git
a/grading/userprog/write-normal.c
b/grading/userprog/write-normal.c
index b2e96e86927aa351e6dcb64d1191d937d69c17fa..145d0bf12ec71da8a0fd3aa4e0f8e4467420e691 100644
(file)
--- 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)
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");
byte_cnt, sizeof sample - 1);
printf ("(write-normal) end\n");