diff options
Diffstat (limited to 'loginutils/add-remove-shell.c')
-rw-r--r-- | loginutils/add-remove-shell.c | 4 |
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) | |||
100 | cpp++; | 100 | cpp++; |
101 | } | 101 | } |
102 | /* copy shell name from old to new file */ | 102 | /* copy shell name from old to new file */ |
103 | printf("%s\n", line); | 103 | puts(line); |
104 | next_line: | 104 | next_line: |
105 | free(line); | 105 | free(line); |
106 | } | 106 | } |
@@ -112,7 +112,7 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv) | |||
112 | char **cpp = argv; | 112 | char **cpp = argv; |
113 | while (*cpp) { | 113 | while (*cpp) { |
114 | if (*cpp != dont_add) | 114 | if (*cpp != dont_add) |
115 | printf("%s\n", *cpp); | 115 | puts(*cpp); |
116 | cpp++; | 116 | cpp++; |
117 | } | 117 | } |
118 | } | 118 | } |