diff options
author | Wichert Akkerman <wichert@deephackmode.org> | 1999-08-29 23:15:07 +0000 |
---|---|---|
committer | Wichert Akkerman <wichert@deephackmode.org> | 1999-08-29 23:15:07 +0000 |
commit | 9ce1a63eb20b069607c06f9645ac5a17b418a5f3 (patch) | |
tree | c44fbd1dfd23b635e8dd518ac76c20b68e923563 /io.c | |
parent | 5a777663d5208fb2485d06b5a54419f0d15e7bf6 (diff) | |
download | strace-9ce1a63eb20b069607c06f9645ac5a17b418a5f3.tar.gz strace-9ce1a63eb20b069607c06f9645ac5a17b418a5f3.tar.bz2 strace-9ce1a63eb20b069607c06f9645ac5a17b418a5f3.tar.xz |
Catching up on my mail-backlog, see ChangeLog for details
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -152,9 +152,14 @@ struct tcb *tcp; tprintf("%#lx", tcp->u_arg[1]); else printstr(tcp, tcp->u_arg[1], tcp->u_rval); +#if UNIXWARE + /* off_t is signed int */ + tprintf(", %lu, %ld", tcp->u_arg[2], tcp->u_arg[3]); +#else tprintf(", %lu, %llu", tcp->u_arg[2], (((unsigned long long) tcp->u_arg[4]) << 32 | tcp->u_arg[3])); +#endif } return 0; } @@ -166,9 +171,14 @@ struct tcb *tcp; if (entering(tcp)) { tprintf("%ld, ", tcp->u_arg[0]); printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); +#if UNIXWARE + /* off_t is signed int */ + tprintf(", %lu, %ld", tcp->u_arg[2], tcp->u_arg[3]); +#else tprintf(", %lu, %llu", tcp->u_arg[2], (((unsigned long long) tcp->u_arg[4]) << 32 | tcp->u_arg[3])); +#endif } return 0; } |