summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
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/mount_msdosfs
parent0e6461b97aaf1f56e10efd1886d3d630e3280514 (diff)
downloadFreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.zip
FreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.tar.gz
Don't call err with no format string.
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c2
1 files changed, 1 insertions, 1 deletions
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