Add more tests.
[pintos-anon] / grading / userprog / sc-bad-arg.c
index 8bbd8eab7b36754acfd738bd71aa31026b04ec81..e6019a69fd790e595f984c9ed2d35b8c72cee616 100644 (file)
@@ -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");