aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cmp.c4
-rw-r--r--coreutils/echo.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/coreutils/cmp.c b/coreutils/cmp.c
index c70f8822d..80fab0b90 100644
--- a/coreutils/cmp.c
+++ b/coreutils/cmp.c
@@ -23,14 +23,14 @@
23 23
24#include "busybox.h" 24#include "busybox.h"
25 25
26static FILE *cmp_xfopen_input(const char * const filename) 26static FILE *cmp_xfopen_input(const char *filename)
27{ 27{
28 FILE *fp; 28 FILE *fp;
29 29
30 fp = fopen_or_warn_stdin(filename); 30 fp = fopen_or_warn_stdin(filename);
31 if (fp) 31 if (fp)
32 return fp; 32 return fp;
33 sleep_and_die(); /* We already output an error message. */ 33 xfunc_die(); /* We already output an error message. */
34} 34}
35 35
36static const char fmt_eof[] = "cmp: EOF on %s\n"; 36static const char fmt_eof[] = "cmp: EOF on %s\n";
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 2ee5002ba..2de19c2e3 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -107,7 +107,9 @@ int bb_echo(char **argv)
107 putchar(' '); 107 putchar(' ');
108 } 108 }
109 109
110#if ENABLE_FEATURE_FANCY_ECHO
110 newline_ret: 111 newline_ret:
112#endif
111 if (nflag) { 113 if (nflag) {
112 putchar('\n'); 114 putchar('\n');
113 } 115 }