aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/add-remove-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/add-remove-shell.c b/loginutils/add-remove-shell.c
index e492b6e5a..9419ff5e7 100644
--- a/loginutils/add-remove-shell.c
+++ b/loginutils/add-remove-shell.c
@@ -100,7 +100,7 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv)
cpp++;
}
/* copy shell name from old to new file */
- printf("%s\n", line);
+ puts(line);
next_line:
free(line);
}
@@ -112,7 +112,7 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv)
char **cpp = argv;
while (*cpp) {
if (*cpp != dont_add)
- printf("%s\n", *cpp);
+ puts(*cpp);
cpp++;
}
}