lseek.c: use printnum_int64

* lseek.c (sys_llseek): Use printnum_int64.
This commit is contained in:
Дмитрий Левин 2015-07-19 23:55:25 +00:00
parent 85813ceb2d
commit 7db808d749

10
lseek.c
View File

@ -72,13 +72,9 @@ SYS_FUNC(llseek)
tprintf(", %lld, ",
((long long) tcp->u_arg[1]) << 32 |
(unsigned long long) (unsigned) tcp->u_arg[2]);
}
else {
long long off;
if (syserror(tcp) || umove(tcp, tcp->u_arg[3], &off) < 0)
tprintf("%#lx, ", tcp->u_arg[3]);
else
tprintf("[%llu], ", off);
} else {
printnum_int64(tcp, tcp->u_arg[3], "%" PRIu64);
tprints(", ");
printxval(whence_codes, tcp->u_arg[4], "SEEK_???");
}
return 0;