From bb98db2ed2140db5fd5c08112e257ed864aec646 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 19 Jun 2007 23:04:17 +0000 Subject: echo: fix yet another buglet in non-fancy echo --- coreutils/echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/echo.c') 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 -- cgit v1.2.3