mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(main): Prefer the notation STREQ (a, b)' over strcmp (a, b) == 0'.
This commit is contained in:
1 parent
339ff9d46b
commit
4db0764f1a
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user