Use STREQ rather than strcmp
[platform/upstream/coreutils.git] / src / wc.c
index 9407968..15a3891 100644 (file)
--- a/src/wc.c
+++ b/src/wc.c
@@ -267,7 +267,7 @@ wc (int fd, const char *file)
 static void
 wc_file (const char *file)
 {
-  if (!strcmp (file, "-"))
+  if (STREQ (file, "-"))
     {
       have_read_stdin = 1;
       wc (0, file);