2003-01-14 Roland McGrath <roland@redhat.com>

* io.c [LINUX] (sys_pread, sys_pwrite): Fix last change.
	From Anton Blanchard <anton@samba.org>.
This commit is contained in:
Roland McGrath 2003-01-14 23:40:57 +00:00
parent 4a9b49a96f
commit c6cc577089

4
io.c
View File

@ -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]);
}