From b80c0aa351193793585cbfede56625cf72cf5060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= Date: Thu, 14 May 2020 10:25:00 +0200 Subject: Fixed typo in comment. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filip Strömbäck --- src/tests/filst/sc-bad-exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/filst') 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. : -- cgit v1.2.1