Browse Source

getrandom.c: use printaddr

* getrandom.c (sys_getrandom): Use printaddr.
Dmitry V. Levin 4 years ago
parent
commit
aa9f687ff3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      getrandom.c

+ 1
- 1
getrandom.c View File

@@ -5,7 +5,7 @@ SYS_FUNC(getrandom)
5 5
 {
6 6
 	if (exiting(tcp)) {
7 7
 		if (syserror(tcp))
8
-			tprintf("%#lx", tcp->u_arg[0]);
8
+			printaddr(tcp->u_arg[0]);
9 9
 		else
10 10
 			printstr(tcp, tcp->u_arg[0], tcp->u_rval);
11 11
 		tprintf(", %lu, ", tcp->u_arg[1]);

Loading…
Cancel
Save