Fully capitalize SYS_* syscall enum names.
[pintos-anon] / src / tests / userprog / sc-boundary.c
index 86371d6365b261dfeecc7c1cdbd90d59785cfe9c..fd147bd40ccd437f605a208140a140cb8f8ce6ba 100644 (file)
@@ -1,3 +1,6 @@
+/* Invokes a system call with the system call number and its
+   argument on separate pages.  This must work. */
+
 #include <syscall-nr.h>
 #include "tests/userprog/boundary.h"
 #include "tests/lib.h"
@@ -10,7 +13,7 @@ test_main (void)
      and its argument at the beginning of another. */
   int *p = get_boundary_area ();
   p--;
-  p[0] = SYS_exit;
+  p[0] = SYS_EXIT;
   p[1] = 42;
 
   /* Invoke the system call. */