summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-19 23:04:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-19 23:04:17 +0000
commitbb98db2ed2140db5fd5c08112e257ed864aec646 (patch)
treecc25f307fa7c9433424ec567fbac640ef3e83801
parent5ad1048c3d139a11df61392b82d76221ef1576f2 (diff)
echo: fix yet another buglet in non-fancy echo
-rw-r--r--coreutils/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 11507b438..085e8516c 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -33,7 +33,7 @@ int bb_echo(char **argv)
eflag = '\\',
nflag = 1, /* 1 -- print '\n' */
};
- arg = ++argv;
+ arg = *++argv;
if (!arg)
goto newline_ret;
#else