Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
getcwd.c: use printaddr
* getcwd.c (sys_getcwd): Use printaddr.
  • Loading branch information
ldv-alt committed Jul 20, 2015
1 parent aa9f687 commit 071193f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getcwd.c
Expand Up @@ -4,7 +4,7 @@ SYS_FUNC(getcwd)
{
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]);
Expand Down

0 comments on commit 071193f

Please sign in to comment.