join: fix error message for -a and -v

* src/join.c (main): s/field/file/ in the error message
for -a and -v, introduced in TEXTUTILS-1_13-24-g6f63d53e1.
Reported at https://bugs.debian.org/1068864
This commit is contained in:
Pádraig Brady committed 2024-04-12 20:26:46 +01:00
1 parent be3a216ab4
commit f56ae60585
1 file changed
+1 -1
+1 -1
View File
@@ -1045,7 +1045,7 @@ main (int argc, char **argv)
if (xstrtol (optarg, nullptr, 10, &val, "") != LONGINT_OK
|| (val != 1 && val != 2))
error (EXIT_FAILURE, 0,
_("invalid field number: %s"), quote (optarg));
_("invalid file number: %s"), quote (optarg));
if (val == 1)
print_unpairables_1 = true;
else