projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aced79
)
getrandom.c: use printaddr
author
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 20 Jul 2015 11:33:06 +0000
(11:33 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Mon, 20 Jul 2015 22:03:07 +0000
(22:03 +0000)
* getrandom.c (sys_getrandom): Use printaddr.
getrandom.c
patch
|
blob
|
history
diff --git
a/getrandom.c
b/getrandom.c
index b67916d9990f109cda06ea2687895c59eecb167d..c82b3b7f8be05d478b96f51c4a3331a72f4eddd5 100644
(file)
--- a/
getrandom.c
+++ b/
getrandom.c
@@
-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]);