summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.c b/src/env.c
index 263202633..018ee8005 100644
--- a/src/env.c
+++ b/src/env.c
@@ -168,7 +168,7 @@ main (register int argc, register char **argv, char **envp)
}
}
- if (optind < argc && !strcmp (argv[optind], "-"))
+ if (optind < argc && STREQ (argv[optind], "-"))
ignore_environment = 1;
if (ignore_environment)
@@ -182,7 +182,7 @@ main (register int argc, register char **argv, char **envp)
if (optc == 'u')
putenv (optarg); /* Requires GNU putenv. */
- if (optind < argc && !strcmp (argv[optind], "-"))
+ if (optind < argc && STREQ (argv[optind], "-"))
++optind;
while (optind < argc && strchr (argv[optind], '='))