#include "defs.h"
#include "xlat/getrandom_flags.h"
-int
-sys_getrandom(struct tcb *tcp)
+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]);