projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve basic alarm clock test.
[pintos-anon]
/
grading
/
userprog
/
read-bad-ptr.c
diff --git
a/grading/userprog/read-bad-ptr.c
b/grading/userprog/read-bad-ptr.c
index 860e48502215ed83a46f91fe138ae778abf75ff7..5ddb2a3d110ad880d4d00161b2778a7d4601279a 100644
(file)
--- a/
grading/userprog/read-bad-ptr.c
+++ b/
grading/userprog/read-bad-ptr.c
@@
-11,7
+11,7
@@
main (void)
if (handle < 2)
printf ("(read-bad-ptr) fail: open() returned %d\n", handle);
if (handle < 2)
printf ("(read-bad-ptr) fail: open() returned %d\n", handle);
- read (handle, (char *) 0x
c
0101234, 123);
+ read (handle, (char *) 0x
2
0101234, 123);
printf ("(read-bad-ptr) end\n");
return 0;
printf ("(read-bad-ptr) end\n");
return 0;