summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2003-01-14 23:40:57 +0000
committerRoland McGrath <roland@redhat.com>2003-01-14 23:40:57 +0000
commitc6cc577089355345b5d6e6e70c8f0a8be55d5346 (patch)
tree8a000a48af6bf2a21e7ad6e1a6ad83a22e8fb81b /io.c
parent4a9b49a96f2109a85beaa030e10767aeef22991d (diff)
downloadstrace-c6cc577089355345b5d6e6e70c8f0a8be55d5346.tar.gz
strace-c6cc577089355345b5d6e6e70c8f0a8be55d5346.tar.bz2
strace-c6cc577089355345b5d6e6e70c8f0a8be55d5346.tar.xz
2003-01-14 Roland McGrath <roland@redhat.com>
* io.c [LINUX] (sys_pread, sys_pwrite): Fix last change. From Anton Blanchard <anton@samba.org>.
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 618b0c8..893ee61 100644
--- a/io.c
+++ b/io.c
@@ -242,7 +242,7 @@ struct tcb *tcp;
tprintf("%#lx", tcp->u_arg[1]);
else
printstr(tcp, tcp->u_arg[1], tcp->u_rval);
- ALIGN64 (tcp, 2); /* PowerPC alignment restriction */
+ ALIGN64 (tcp, 3); /* PowerPC alignment restriction */
tprintf(", %lu, %llu", tcp->u_arg[2],
*(unsigned long long *)&tcp->u_arg[3]);
}
@@ -256,7 +256,7 @@ struct tcb *tcp;
if (entering(tcp)) {
tprintf("%ld, ", tcp->u_arg[0]);
printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]);
- ALIGN64 (tcp, 2); /* PowerPC alignment restriction */
+ ALIGN64 (tcp, 3); /* PowerPC alignment restriction */
tprintf(", %lu, %llu", tcp->u_arg[2],
*(unsigned long long *)&tcp->u_arg[3]);
}