diff options
| -rw-r--r-- | src/tests/filst/sc-bad-exit.c | 2 |
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 d469fcb..a0f02ea 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 one. + "movb $0, 4(%%esp);" // Set the parameter to zero. "int $0x30;" // Trigger syscall. "movl %%edi, %%esp;" // Restore the old stack if we survivied. : |
