Skip to content

Commit aa9f687

Browse files
committed
getrandom.c: use printaddr
* getrandom.c (sys_getrandom): Use printaddr.
1 parent 3aced79 commit aa9f687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getrandom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SYS_FUNC(getrandom)
55
{
66
if (exiting(tcp)) {
77
if (syserror(tcp))
8-
tprintf("%#lx", tcp->u_arg[0]);
8+
printaddr(tcp->u_arg[0]);
99
else
1010
printstr(tcp, tcp->u_arg[0], tcp->u_rval);
1111
tprintf(", %lu, ", tcp->u_arg[1]);

0 commit comments

Comments
 (0)