commit | 071193f6201c1b2ba8f6cc54d66b1cfc9a276272 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Jul 20 11:35:03 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Jul 20 22:03:07 2015 +0000 |
tree | ea056a9a6a5a5c934c32851e7d347908ec68892a | |
parent | aa9f687ff3f1cbb7ead7b502c6aed64713c5d6df [diff] [blame] |
getcwd.c: use printaddr * getcwd.c (sys_getcwd): Use printaddr.
diff --git a/getcwd.c b/getcwd.c index 66af834..3297623 100644 --- a/getcwd.c +++ b/getcwd.c
@@ -4,7 +4,7 @@ { if (exiting(tcp)) { if (syserror(tcp)) - tprintf("%#lx", tcp->u_arg[0]); + printaddr(tcp->u_arg[0]); else printpathn(tcp, tcp->u_arg[0], tcp->u_rval - 1); tprintf(", %lu", tcp->u_arg[1]);