Skip to content

Commit 071193f

Browse files
committed
getcwd.c: use printaddr
* getcwd.c (sys_getcwd): Use printaddr.
1 parent aa9f687 commit 071193f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getcwd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SYS_FUNC(getcwd)
44
{
55
if (exiting(tcp)) {
66
if (syserror(tcp))
7-
tprintf("%#lx", tcp->u_arg[0]);
7+
printaddr(tcp->u_arg[0]);
88
else
99
printpathn(tcp, tcp->u_arg[0], tcp->u_rval - 1);
1010
tprintf(", %lu", tcp->u_arg[1]);

0 commit comments

Comments
 (0)