aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sctrace.c')
-rw-r--r--sctrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sctrace.c b/sctrace.c
index 54bd977..320bc3a 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -30,6 +30,7 @@ handle_syscall(struct process *proc)
proc->scall ^= proc->scall_xor;
#endif
GET_SYSCALL_ARGUMENTS(proc, &regs);
+ memset(proc->save, 0, sizeof(proc->save));
/* Print system call */
print_systemcall(proc);