summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 08:11:52 +0000
committerkris <kris@FreeBSD.org>2000-07-10 08:11:52 +0000
commit2e935b7798d93cfcd3778b957ca8fcd998194743 (patch)
treec1632acc9482508c9569d02f1bf72f39d97ec327 /sbin
parent0e6461b97aaf1f56e10efd1886d3d630e3280514 (diff)
downloadFreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.zip
FreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.tar.gz
Don't call err with no format string.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_msdos/mount_msdos.c2
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_msdos/mount_msdos.c b/sbin/mount_msdos/mount_msdos.c
index d2bcb26..8265826 100644
--- a/sbin/mount_msdos/mount_msdos.c
+++ b/sbin/mount_msdos/mount_msdos.c
@@ -331,7 +331,7 @@ load_ultable (pargs, name)
int i;
if (setlocale(LC_CTYPE, name) == NULL)
- err(EX_CONFIG, name);
+ err(EX_CONFIG, "%s", name);
for (i = 0; i < 128; i++) {
pargs->ul[i] = tolower(i | 0x80);
pargs->lu[i] = toupper(i | 0x80);
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index d2bcb26..8265826 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -331,7 +331,7 @@ load_ultable (pargs, name)
int i;
if (setlocale(LC_CTYPE, name) == NULL)
- err(EX_CONFIG, name);
+ err(EX_CONFIG, "%s", name);
for (i = 0; i < 128; i++) {
pargs->ul[i] = tolower(i | 0x80);
pargs->lu[i] = toupper(i | 0x80);
OpenPOWER on IntegriCloud