aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 18:55:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-04-14 18:55:30 +0200
commit7c813fbabfa672e74a387ab457b9fa39ca1a57aa (patch)
treebbba9782763c836207bd8e73e76986371e78cc7d
parentfe2d8065e3e3c251c054a30e9823977e20b5ab7c (diff)
downloadbusybox-w32-7c813fbabfa672e74a387ab457b9fa39ca1a57aa.tar.gz
busybox-w32-7c813fbabfa672e74a387ab457b9fa39ca1a57aa.tar.bz2
busybox-w32-7c813fbabfa672e74a387ab457b9fa39ca1a57aa.zip
echo: fix !ENABLE_FEATURE_FANCY_ECHO build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 61ba060ec..aab177cee 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -87,6 +87,7 @@ int echo_main(int argc UNUSED_PARAM, char **argv)
87 char *out; 87 char *out;
88 char *buffer; 88 char *buffer;
89 unsigned buflen; 89 unsigned buflen;
90 int err;
90#if !ENABLE_FEATURE_FANCY_ECHO 91#if !ENABLE_FEATURE_FANCY_ECHO
91 enum { 92 enum {
92 eflag = 0, /* 0 -- disable escape sequences */ 93 eflag = 0, /* 0 -- disable escape sequences */
@@ -97,7 +98,6 @@ int echo_main(int argc UNUSED_PARAM, char **argv)
97#else 98#else
98 char nflag = 1; 99 char nflag = 1;
99 char eflag = 0; 100 char eflag = 0;
100 int err;
101 101
102 while ((arg = *++argv) != NULL) { 102 while ((arg = *++argv) != NULL) {
103 char n, e; 103 char n, e;