aboutsummaryrefslogtreecommitdiff
path: root/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lash.c')
-rw-r--r--lash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lash.c b/lash.c
index 89a8fe6a5..cb17e2d75 100644
--- a/lash.c
+++ b/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;
}