- fix non-fancy echo by pulling r18752 from trunk.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Jun 2007 17:49:03 +0000 (17:49 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Jun 2007 17:49:03 +0000 (17:49 -0000)
coreutils/echo.c

index 9aad2c2ba7196e7a67c91dda23835c43a197dca4..e1eea000747b210ad2e952bdf1112d2f99c784b6 100644 (file)
@@ -33,7 +33,7 @@ int bb_echo(char **argv)
                eflag = '\\',
                nflag = 1,  /* 1 -- print '\n' */
        };
-       ++argv;
+       arg = *++argv;
 #else
        const char *p;
        char nflag = 1;