diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-12 09:27:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-12 09:27:45 +0000 |
commit | d4257e63c7956d7a77349f0e3b693afa5e1ab9df (patch) | |
tree | 37c7c7ae817f492796a4b084772a4e2c39acedb9 /src/head.c | |
parent | 7154d646cb343aa28459ffbfb5a1ca7057f3c8d7 (diff) | |
download | coreutils-d4257e63c7956d7a77349f0e3b693afa5e1ab9df.tar.xz |
Use STREQ rather than strcmp
Diffstat (limited to 'src/head.c')
-rw-r--r-- | src/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/head.c b/src/head.c index 42f76e423..3052df197 100644 --- a/src/head.c +++ b/src/head.c @@ -184,7 +184,7 @@ head_file (const char *filename, U_LONG_LONG n_units, int count_lines) { int fd; - if (!strcmp (filename, "-")) + if (STREQ (filename, "-")) { have_read_stdin = 1; filename = _("standard input"); |