aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-16 14:21:09 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-16 14:21:09 +0000
commitbbb602f480533eb3bdc18187065b3b5616482f4a (patch)
treefab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /shell
parent716d34b7be144daf1fbafbe9044caa3c59649ea7 (diff)
downloadbusybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.tar.gz
busybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.tar.bz2
busybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.zip
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 89a8fe6a5..cb17e2d75 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -416,7 +416,7 @@ static int builtin_pwd(struct child_prog *dummy)
416 cwd = xgetcwd((char *)cwd); 416 cwd = xgetcwd((char *)cwd);
417 if (!cwd) 417 if (!cwd)
418 cwd = unknown; 418 cwd = unknown;
419 printf( "%s\n", cwd); 419 puts(cwd);
420 return EXIT_SUCCESS; 420 return EXIT_SUCCESS;
421} 421}
422 422
@@ -429,7 +429,7 @@ static int builtin_export(struct child_prog *child)
429 if (v == NULL) { 429 if (v == NULL) {
430 char **e; 430 char **e;
431 for (e = environ; *e; e++) { 431 for (e = environ; *e; e++) {
432 printf( "%s\n", *e); 432 puts(*e);
433 } 433 }
434 return 0; 434 return 0;
435 } 435 }