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]);