aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/filst/sc-bad-exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/filst/sc-bad-exit.c')
-rw-r--r--src/tests/filst/sc-bad-exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/filst/sc-bad-exit.c b/src/tests/filst/sc-bad-exit.c
index 19945fc..d469fcb 100644
--- a/src/tests/filst/sc-bad-exit.c
+++ b/src/tests/filst/sc-bad-exit.c
@@ -35,7 +35,7 @@ void test_main(void)
"movl %%esp, %%edi;" // Save the stack pointer in case we survive.
"movl %0, %%esp;" // Set stack pointer.
"movl %1, (%%esp);" // Try to call SYS_EXIT
- "movb $1, 4(%%esp);" // Set the first byte of the syscall number to zero.
+ "movb $1, 4(%%esp);" // Set the first byte of the syscall number to one.
"int $0x30;" // Trigger syscall.
"movl %%edi, %%esp;" // Restore the old stack if we survivied.
: