diff options
author | Matt Kraai | 2001-05-16 14:21:09 +0000 |
---|---|---|
committer | Matt Kraai | 2001-05-16 14:21:09 +0000 |
commit | 59df6f73988b103f0dcfffeaec10642527336c5e (patch) | |
tree | fab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /shell/lash.c | |
parent | bc604a2f417ea290913fedb6807e390e4fc8833e (diff) | |
download | busybox-59df6f73988b103f0dcfffeaec10642527336c5e.zip busybox-59df6f73988b103f0dcfffeaec10642527336c5e.tar.gz |
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle.
Diffstat (limited to 'shell/lash.c')
-rw-r--r-- | shell/lash.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ static int builtin_pwd(struct child_prog *dummy) cwd = xgetcwd((char *)cwd); if (!cwd) cwd = unknown; - printf( "%s\n", cwd); + puts(cwd); return EXIT_SUCCESS; } @@ -429,7 +429,7 @@ static int builtin_export(struct child_prog *child) if (v == NULL) { char **e; for (e = environ; *e; e++) { - printf( "%s\n", *e); + puts(*e); } return 0; } |