| commit | a4f79880620862949fabea684fe010f6e3cedb19 | [log] [tgz] |
|---|---|---|
| author | Rob Landley <rob@landley.net> | Sat Jan 20 22:59:00 2007 -0500 |
| committer | Rob Landley <rob@landley.net> | Sat Jan 20 22:59:00 2007 -0500 |
| tree | f570031c6d7a0e781c53420e7064c8fe463aa57d | |
| parent | 452ff9e58b585bf0de9c8211e0d8889cba5f435d [diff] [blame] |
Teach pwd to detect write errors.
diff --git a/toys/pwd.c b/toys/pwd.c index 3ba7ae0..59d7223 100644 --- a/toys/pwd.c +++ b/toys/pwd.c
@@ -9,7 +9,7 @@ { char *pwd = xgetcwd(); - puts(pwd); + xprintf("%s\n", pwd); if (CFG_TOYS_FREE) free(pwd); return 0;