X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fsc-boundary.c;h=d889535cf279f9af2d5688fd0ef21a5c1caf0719;hb=a03618133f7df0954802a470a4bee7674f7aed45;hp=28525684d9676c70c4913ef2a4d8c513d2f44009;hpb=42a67e9ac6854ec56c35c82e1ad9c4e2c8662139;p=pintos-anon diff --git a/src/tests/userprog/sc-boundary.c b/src/tests/userprog/sc-boundary.c index 2852568..d889535 100644 --- a/src/tests/userprog/sc-boundary.c +++ b/src/tests/userprog/sc-boundary.c @@ -13,10 +13,10 @@ 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. */ - asm volatile ("movl %0, %%esp; int $0x30" :: "g" (p)); + asm volatile ("movl %0, %%esp; int $0x30" : : "g" (p)); fail ("should have called exit(42)"); }