echo: fix yet another buglet in non-fancy echo
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 19 Jun 2007 23:04:17 +0000 (23:04 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 19 Jun 2007 23:04:17 +0000 (23:04 -0000)
coreutils/echo.c

index 11507b43801410ee5b27d3ad3b6742e4aef0fa22..085e8516c487820b62e171599180f109c1f6975e 100644 (file)
@@ -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