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