Use STREQ rather than strcmp
[platform/upstream/coreutils.git] / src / split.c
index bce8b8d..a6624d9 100644 (file)
@@ -486,7 +486,7 @@ main (int argc, char **argv)
     }
 
   /* Open the input file.  */
-  if (!strcmp (infile, "-"))
+  if (STREQ (infile, "-"))
     input_desc = 0;
   else
     {