diff options
-rw-r--r-- | src/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index c8db77f04..5cb891bcd 100644 --- a/src/date.c +++ b/src/date.c @@ -234,7 +234,7 @@ batch_convert (const char *input_filename, const char *format) size_t buflen; struct timespec when; - if (strcmp (input_filename, "-") == 0) + if (STREQ (input_filename, "-")) { input_filename = _("standard input"); in_stream = stdin; |