projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random: Fix behavior of kernel option "-rs".
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-boundary.c
diff --git
a/src/tests/userprog/sc-boundary.c
b/src/tests/userprog/sc-boundary.c
index 28525684d9676c70c4913ef2a4d8c513d2f44009..d889535cf279f9af2d5688fd0ef21a5c1caf0719 100644
(file)
--- 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--;
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. */
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)");
}
fail ("should have called exit(42)");
}