commit | 59df6f73988b103f0dcfffeaec10642527336c5e | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Wed May 16 14:21:09 2001 +0000 |
committer | Matt Kraai <kraai@debian.org> | Wed May 16 14:21:09 2001 +0000 |
tree | fab28cbdabe79bb98e1cdc99f1fa2b6da599f709 | |
parent | bc604a2f417ea290913fedb6807e390e4fc8833e [diff] [blame] |
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c by Larry Doolittle.
diff --git a/shell/lash.c b/shell/lash.c index 89a8fe6..cb17e2d 100644 --- a/shell/lash.c +++ b/shell/lash.c
@@ -416,7 +416,7 @@ cwd = xgetcwd((char *)cwd); if (!cwd) cwd = unknown; - printf( "%s\n", cwd); + puts(cwd); return EXIT_SUCCESS; } @@ -429,7 +429,7 @@ if (v == NULL) { char **e; for (e = environ; *e; e++) { - printf( "%s\n", *e); + puts(*e); } return 0; }