summaryrefslogtreecommitdiff
path: root/src/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/head.c')
-rw-r--r--src/head.c2
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");