summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/syscall.c b/syscall.c
index b848716..71c369c 100644
--- a/syscall.c
+++ b/syscall.c
@@ -141,9 +141,7 @@ syscall(void)
if(num >= 0 && num < SYS_open && syscalls[num]) {
proc->tf->eax = syscalls[num]();
} else if (num >= SYS_open && num < NELEM(syscalls) && syscalls[num]) {
- begin_trans();
proc->tf->eax = syscalls[num]();
- commit_trans();
} else {
cprintf("%d %s: unknown sys call %d\n",
proc->pid, proc->name, num);