projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always try to create output directory, even if pintos directory exists.
[pintos-anon]
/
grading
/
userprog
/
sc-bad-arg.c
diff --git
a/grading/userprog/sc-bad-arg.c
b/grading/userprog/sc-bad-arg.c
index 8bbd8eab7b36754acfd738bd71aa31026b04ec81..e6019a69fd790e595f984c9ed2d35b8c72cee616 100644
(file)
--- a/
grading/userprog/sc-bad-arg.c
+++ b/
grading/userprog/sc-bad-arg.c
@@
-5,7
+5,7
@@
int
main (void)
{
printf ("(sc-bad-arg) begin\n");
- asm volatile ("mov $0xbffffffc, %%esp; movl
$
%0, (%%esp); int $0x30"
+ asm volatile ("mov $0xbffffffc, %%esp; movl %0, (%%esp); int $0x30"
:
: "i" (SYS_exit));
printf ("(sc-bad-arg) end\n");