diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 13:00:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 13:00:28 +0000 |
commit | 4db0764f1ac769d70fa7e8743849f4887b615e39 (patch) | |
tree | b755e5482566999fa0e26f208082f5a87527364a | |
parent | 339ff9d46b616e56467d7dc3ec032f1720747db3 (diff) | |
download | coreutils-4db0764f1ac769d70fa7e8743849f4887b615e39.tar.xz |
(main): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 1761ad335..522b799bc 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2408,7 +2408,7 @@ main (int argc, char **argv) break; case 'o': - if (outfile != minus && strcmp (outfile, optarg) != 0) + if (outfile != minus && !STREQ (outfile, optarg)) error (SORT_FAILURE, 0, _("multiple output files specified")); outfile = optarg; break; |