projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Talk about write() to stdout more.
[pintos-anon]
/
grading
/
userprog
/
write-bad-fd.c
diff --git
a/grading/userprog/write-bad-fd.c
b/grading/userprog/write-bad-fd.c
index 33df0011e5c5b356ffa49e8c7b7eea81275a46ea..5f46d6be616840a32094c3b477aea333ae6a3672 100644
(file)
--- a/
grading/userprog/write-bad-fd.c
+++ b/
grading/userprog/write-bad-fd.c
@@
-6,7
+6,7
@@
main (void)
{
char buf = 123;
printf ("(write-bad-fd) begin\n");
{
char buf = 123;
printf ("(write-bad-fd) begin\n");
- write (0x
c
0101234, &buf, 1);
+ write (0x
2
0101234, &buf, 1);
printf ("(write-bad-fd) end\n");
return 0;
}
printf ("(write-bad-fd) end\n");
return 0;
}