Adopt consistent style in asm statements.
[pintos-anon] / src / tests / userprog / sc-boundary-2.c
index de357fcb6f7cd332ec3f83178c89adac3c7db883..8acf0361e3e7a392f3c9a5143632c134ca646109 100644 (file)
@@ -13,10 +13,10 @@ test_main (void)
   /* Make one byte of a syscall argument hang over into a second
      page. */
   int *p = (int *) ((char *) get_boundary_area () - 7);
-  p[0] = SYS_exit;
+  p[0] = SYS_EXIT;
   p[1] = 67;
 
   /* Invoke the system call. */
-  asm volatile ("movl %0, %%esp; int $0x30" :: "g" (p));
+  asm volatile ("movl %0, %%esp; int $0x30" : : "g" (p));
   fail ("should have called exit(67)");
 }