We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa9f687 commit 071193fCopy full SHA for 071193f
getcwd.c
@@ -4,7 +4,7 @@ SYS_FUNC(getcwd)
4
{
5
if (exiting(tcp)) {
6
if (syserror(tcp))
7
- tprintf("%#lx", tcp->u_arg[0]);
+ printaddr(tcp->u_arg[0]);
8
else
9
printpathn(tcp, tcp->u_arg[0], tcp->u_rval - 1);
10
tprintf(", %lu", tcp->u_arg[1]);
0 commit comments