aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Strömbäck <fstromback@gmail.com>2020-05-14 10:25:00 +0200
committerFilip Strömbäck <fstromback@gmail.com>2020-05-14 10:25:00 +0200
commitb80c0aa351193793585cbfede56625cf72cf5060 (patch)
tree99997098816b9278bdf40d4e04a06be764ef84fc /src
parent4748c3b46adcb03e0ba5489f722dd24298559d2c (diff)
downloadpintos-rs-b80c0aa351193793585cbfede56625cf72cf5060.tar.gz
Fixed typo in comment.
Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
Diffstat (limited to 'src')
-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.
: