summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index d0368ce..6d4854e 100644
--- a/trap.c
+++ b/trap.c
@@ -45,7 +45,6 @@ usertrap(void)
if(r_scause() == 8){
// system call
- printf("usertrap(): system call pid=%d syscall=%d\n", p->pid, p->tf->a7);
// sepc points to the ecall instruction,
// but we want to return to the next instruction.