diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2008-09-03 01:22:18 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2008-09-03 01:22:18 +0000 |
commit | 21a75347451b5178a0eb85a48042b8db0e45b318 (patch) | |
tree | 90082826a92caf577fc2c4acb45528ab7ef22072 /stream.c | |
parent | 2e55ff4562e87f8361f0c1db5a42ee6e9ac0cc56 (diff) | |
download | strace-21a75347451b5178a0eb85a48042b8db0e45b318.tar.gz strace-21a75347451b5178a0eb85a48042b8db0e45b318.tar.bz2 strace-21a75347451b5178a0eb85a48042b8db0e45b318.tar.xz |
2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
* desc.c (sys_fcntl): Do not initialize auxstr for failed syscall.
* process.c (sys_fork, sys_rfork) [USE_PROCFS]: Likewise.
* signal.c (sys_signal): Likewise.
* stream.c (internal_stream_ioctl): Likewise.
* time.c (sys_adjtimex): Likewise.
* syscall.c (trace_syscall): If RVAL_STR is set, then
print auxstr for failed syscall as well.
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1177,7 +1177,7 @@ int arg; } if (exiting(tcp)) { tprintf("}"); - if (timod && tcp->u_rval) { + if (timod && tcp->u_rval && !syserror(tcp)) { tcp->auxstr = xlookup (tli_errors, tcp->u_rval); return RVAL_STR + 1; } |