aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pwd.c b/toys/pwd.c
index 3ba7ae0d..59d7223d 100644
--- a/toys/pwd.c
+++ b/toys/pwd.c
@@ -9,7 +9,7 @@ int pwd_main(void)
{
char *pwd = xgetcwd();
- puts(pwd);
+ xprintf("%s\n", pwd);
if (CFG_TOYS_FREE) free(pwd);
return 0;