projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6219fb
)
sparc: fix fxstat decoding
author
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 29 Dec 2014 03:15:42 +0000
(
03:15
+0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 29 Dec 2014 03:18:36 +0000
(
03:18
+0000)
* file.c [SPARC || SPARC64] (sys_fxstat): Print file descriptor
using printfd.
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 51c307848da5a320b57a4c46400d9fb56cb228a7..69e72b353a37367001398c3c741d61ccb8408d01 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-887,9
+887,11
@@
sys_xstat(struct tcb *tcp)
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;