diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 12:52:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 12:52:31 +0000 |
commit | 339ff9d46b616e56467d7dc3ec032f1720747db3 (patch) | |
tree | 6c5d207a62c8e6fa0af1dfd61ba2cb334c809594 /src | |
parent | 3c3e1584ed8e8c4fad18e729f0b4a2d278294934 (diff) | |
download | coreutils-339ff9d46b616e56467d7dc3ec032f1720747db3.tar.xz |
(batch_convert): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
Diffstat (limited to 'src')
-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; |