Don't call err with no format string.

This commit is contained in:
kris 2000-07-10 08:11:52 +00:00
parent 9c877d3bf9
commit 430ce59125
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ load_ultable (pargs, name)
int i; int i;
if (setlocale(LC_CTYPE, name) == NULL) if (setlocale(LC_CTYPE, name) == NULL)
err(EX_CONFIG, name); err(EX_CONFIG, "%s", name);
for (i = 0; i < 128; i++) { for (i = 0; i < 128; i++) {
pargs->ul[i] = tolower(i | 0x80); pargs->ul[i] = tolower(i | 0x80);
pargs->lu[i] = toupper(i | 0x80); pargs->lu[i] = toupper(i | 0x80);

View File

@ -331,7 +331,7 @@ load_ultable (pargs, name)
int i; int i;
if (setlocale(LC_CTYPE, name) == NULL) if (setlocale(LC_CTYPE, name) == NULL)
err(EX_CONFIG, name); err(EX_CONFIG, "%s", name);
for (i = 0; i < 128; i++) { for (i = 0; i < 128; i++) {
pargs->ul[i] = tolower(i | 0x80); pargs->ul[i] = tolower(i | 0x80);
pargs->lu[i] = toupper(i | 0x80); pargs->lu[i] = toupper(i | 0x80);