diff options
author | Juan Cespedes <cespedes@coco.thehackers.org> | 2009-05-22 19:12:07 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@coco.thehackers.org> | 2009-05-22 19:12:07 +0200 |
commit | 3e94cbf0d388a5b5b49f8dbc60f4b24900de89ae (patch) | |
tree | 807917dc27f4a2783473ba116f362c455431cf2d /sysdeps/linux-gnu/m68k | |
parent | 30439b42294d678f2066522aecdb664132170a41 (diff) | |
download | ltrace-3e94cbf0d388a5b5b49f8dbc60f4b24900de89ae.tar.gz |
See syscalls as syscalls and not sysrets when we are a clone
Diffstat (limited to 'sysdeps/linux-gnu/m68k')
-rw-r--r-- | sysdeps/linux-gnu/m68k/trace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/linux-gnu/m68k/trace.c b/sysdeps/linux-gnu/m68k/trace.c index d332cd2..09c71b2 100644 --- a/sysdeps/linux-gnu/m68k/trace.c +++ b/sysdeps/linux-gnu/m68k/trace.c @@ -36,9 +36,8 @@ syscall_p(Process *proc, int status, int *sysnum) { if (*sysnum >= 0) { depth = proc->callstack_depth; if (depth > 0 && - proc->callstack[depth - 1].is_syscall && - proc->callstack[depth - 1].c_un.syscall == - *sysnum) { + proc->callstack[depth - 1].is_syscall && + proc->callstack[depth - 1].c_un.syscall == *sysnum) { return 2; } else { return 1; |