readlink.c: use printaddr

* readlink.c (decode_readlink): Use printaddr.
This commit is contained in:
Дмитрий Левин 2015-07-17 17:24:41 +00:00
parent fe62e3312b
commit 8e0a18fa7f

View File

@ -8,7 +8,7 @@ decode_readlink(struct tcb *tcp, int offset)
tprints(", ");
} else {
if (syserror(tcp))
tprintf("%#lx", tcp->u_arg[offset + 1]);
printaddr(tcp->u_arg[offset + 1]);
else
/* Used to use printpathn(), but readlink
* neither includes NUL in the returned count,