diff options
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/ls.c | 2 | ||||
| -rw-r--r-- | coreutils/sum.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index f34e83ebe..40e922846 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
| @@ -485,7 +485,7 @@ static void showdirs(struct dnode **dn, int ndirs, int first) | |||
| 485 | for (i = 0; i < ndirs; i++) { | 485 | for (i = 0; i < ndirs; i++) { |
| 486 | if (all_fmt & (DISP_DIRNAME | DISP_RECURSIVE)) { | 486 | if (all_fmt & (DISP_DIRNAME | DISP_RECURSIVE)) { |
| 487 | if (!first) | 487 | if (!first) |
| 488 | printf("\n"); | 488 | puts(""); |
| 489 | first = 0; | 489 | first = 0; |
| 490 | printf("%s:\n", dn[i]->fullname); | 490 | printf("%s:\n", dn[i]->fullname); |
| 491 | } | 491 | } |
diff --git a/coreutils/sum.c b/coreutils/sum.c index 61ca582a1..d663e34dd 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c | |||
| @@ -65,7 +65,7 @@ static int bsd_sum_file(const char *file, int print_name) | |||
| 65 | if (print_name > 1) | 65 | if (print_name > 1) |
| 66 | puts(file); | 66 | puts(file); |
| 67 | else | 67 | else |
| 68 | printf("\n"); | 68 | puts(""); |
| 69 | out: | 69 | out: |
| 70 | return ret; | 70 | return ret; |
| 71 | } | 71 | } |
