aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-20 22:59:00 -0500
committerRob Landley <rob@landley.net>2007-01-20 22:59:00 -0500
commita4f79880620862949fabea684fe010f6e3cedb19 (patch)
treef570031c6d7a0e781c53420e7064c8fe463aa57d /toys
parent452ff9e58b585bf0de9c8211e0d8889cba5f435d (diff)
downloadtoybox-a4f79880620862949fabea684fe010f6e3cedb19.tar.gz
Teach pwd to detect write errors.
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;