unexpand: consolidate error messages

* src/unexpand.c (main): Use the same error
as in parse_tab_stops().
This commit is contained in:
Pádraig Brady committed 2026-04-29 13:16:21 +01:00
1 parent dc723665b5
commit 00cd91288c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -319,7 +319,7 @@ main (int argc, char **argv)
have_tabval = true;
}
if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0'))
error (EXIT_FAILURE, 0, _("tab stop value is too large"));
error (EXIT_FAILURE, 0, _("tab stop is too large"));
break;
}
}