Reduce the number of "internal error, foo overflow" messages that

need to be translated.
This commit is contained in:
Todd C. Miller
2012-08-10 12:18:38 -04:00
parent afaf5e07fe
commit 241b2395cf
6 changed files with 24 additions and 18 deletions

View File

@@ -250,7 +250,7 @@ main(int argc, char *argv[])
for (to = user_args, from = argv; *from; from++) {
n = strlcpy(to, *from, size - (to - user_args));
if (n >= size - (to - user_args))
errorx(1, _("internal error, init_vars() overflow"));
errorx(1, _("internal error, %s overflow"), "init_vars()");
to += n;
*to++ = ' ';
}