Use STREQ rather than strcmp
[platform/upstream/coreutils.git] / src / tac.c
index f281c45..416ab64 100644 (file)
--- a/src/tac.c
+++ b/src/tac.c
@@ -638,7 +638,7 @@ main (int argc, char **argv)
   else
     for (; optind < argc; ++optind)
       {
-       if (strcmp (argv[optind], "-") == 0)
+       if (STREQ (argv[optind], "-"))
          {
            have_read_stdin = 1;
            errors |= tac_stdin_to_mem ();