Reduce the number of "internal error, foo overflow" messages that
need to be translated.
This commit is contained in:
@@ -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++ = ' ';
|
||||
}
|
||||
|
Reference in New Issue
Block a user