commit | e00a9571d43d25531c4291be85376d273e22ec98 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Dec 29 03:15:42 2014 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Dec 29 03:18:36 2014 +0000 |
tree | acbc3162d755fee1c7d8504205c3e025b4dfa577 | |
parent | e6219fbdb1be99514e11010c48949597c2f3920d [diff] [blame] |
sparc: fix fxstat decoding * file.c [SPARC || SPARC64] (sys_fxstat): Print file descriptor using printfd.
diff --git a/file.c b/file.c index 51c3078..69e72b3 100644 --- a/file.c +++ b/file.c
@@ -887,9 +887,11 @@ int sys_fxstat(struct tcb *tcp) { - if (entering(tcp)) - tprintf("%ld, %ld, ", tcp->u_arg[0], tcp->u_arg[1]); - else { + if (entering(tcp)) { + tprintf("%ld, ", tcp->u_arg[0]); + printfd(tcp, tcp->u_arg[1]); + tprints(", "); + } else { printstat(tcp, tcp->u_arg[2]); } return 0;