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,
return 0;
}
-int
-sys_readlink(struct tcb *tcp)
+SYS_FUNC(readlink)
{
return decode_readlink(tcp, 0);
}
-int
-sys_readlinkat(struct tcb *tcp)
+SYS_FUNC(readlinkat)
{
if (entering(tcp))
print_dirfd(tcp, tcp->u_arg[0]);