summaryrefslogtreecommitdiff
path: root/coreutils/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r--coreutils/echo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index e9bc50a..1ca3734 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -40,7 +40,7 @@ echo_main(int argc, char** argv)
while (argc > 0 && *argv[0] == '-')
{
register char *temp;
- register int index;
+ register int ix;
/*
* If it appears that we are handling options, then make sure
@@ -49,9 +49,9 @@ echo_main(int argc, char** argv)
*/
temp = argv[0] + 1;
- for (index = 0; temp[index]; index++)
+ for (ix = 0; temp[ix]; ix++)
{
- if (strrchr("neE", temp[index]) == 0)
+ if (strrchr("neE", temp[ix]) == 0)
goto just_echo;
}