summaryrefslogtreecommitdiff
path: root/coreutils/echo.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-19 23:04:17 +0000
committerDenis Vlasenko2007-06-19 23:04:17 +0000
commitbb98db2ed2140db5fd5c08112e257ed864aec646 (patch)
treecc25f307fa7c9433424ec567fbac640ef3e83801 /coreutils/echo.c
parent5ad1048c3d139a11df61392b82d76221ef1576f2 (diff)
downloadbusybox-bb98db2ed2140db5fd5c08112e257ed864aec646.zip
busybox-bb98db2ed2140db5fd5c08112e257ed864aec646.tar.gz
echo: fix yet another buglet in non-fancy echo
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r--coreutils/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 11507b4..085e851 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