]> granicus.if.org Git - strace/commitdiff
2003-01-14 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 23:40:57 +0000 (23:40 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 23:40:57 +0000 (23:40 +0000)
* io.c [LINUX] (sys_pread, sys_pwrite): Fix last change.
From Anton Blanchard <anton@samba.org>.

io.c

diff --git a/io.c b/io.c
index 618b0c8a29a981ac0ddc49a948f0264458dc2f96..893ee619aac67ebfa8b8d001d06351d9566773c0 100644 (file)
--- 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]);
        }