Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
getrandom.c: use printaddr
Browse files Browse the repository at this point in the history
* getrandom.c (sys_getrandom): Use printaddr.
  • Loading branch information
ldv-alt committed Jul 20, 2015
1 parent 3aced79 commit aa9f687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getrandom.c
Expand Up @@ -5,7 +5,7 @@ SYS_FUNC(getrandom)
{
if (exiting(tcp)) {
if (syserror(tcp))
tprintf("%#lx", tcp->u_arg[0]);
printaddr(tcp->u_arg[0]);
else
printstr(tcp, tcp->u_arg[0], tcp->u_rval);
tprintf(", %lu, ", tcp->u_arg[1]);
Expand Down

0 comments on commit aa9f687

Please sign in to comment.