diff options
author | Rob Landley <rob@landley.net> | 2007-01-20 22:59:00 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-20 22:59:00 -0500 |
commit | a4f79880620862949fabea684fe010f6e3cedb19 (patch) | |
tree | f570031c6d7a0e781c53420e7064c8fe463aa57d /toys | |
parent | 452ff9e58b585bf0de9c8211e0d8889cba5f435d (diff) | |
download | toybox-a4f79880620862949fabea684fe010f6e3cedb19.tar.gz |
Teach pwd to detect write errors.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |