diff options
-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; |