]> granicus.if.org Git - strace/commitdiff
2007-03-21 Andreas Schwab <schwab@suse.de>
authorRoland McGrath <roland@redhat.com>
Thu, 5 Jul 2007 19:01:17 +0000 (19:01 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 5 Jul 2007 19:01:17 +0000 (19:01 +0000)
* file.c (sys_newfstatat): Don't use printstat64 on ppc64.

file.c

diff --git a/file.c b/file.c
index 3d733890c38693fa8119c3ce2466e915fedbf484..92621797e1661d589730e16e7bece8ce4cee6250 100644 (file)
--- a/file.c
+++ b/file.c
@@ -1193,7 +1193,7 @@ sys_newfstatat(struct tcb *tcp)
                printpath(tcp, tcp->u_arg[1]);
                tprintf(", ");
        } else {
-#ifdef HAVE_STAT64
+#if defined HAVE_STAT64 && !(defined POWERPC && defined __powerpc64__)
                printstat64(tcp, tcp->u_arg[2]);
 #else
                printstat(tcp, tcp->u_arg[2]);