diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 08:11:52 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 08:11:52 +0000 |
commit | 2e935b7798d93cfcd3778b957ca8fcd998194743 (patch) | |
tree | c1632acc9482508c9569d02f1bf72f39d97ec327 | |
parent | 0e6461b97aaf1f56e10efd1886d3d630e3280514 (diff) | |
download | FreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.zip FreeBSD-src-2e935b7798d93cfcd3778b957ca8fcd998194743.tar.gz |
Don't call err with no format string.
-rw-r--r-- | sbin/mount_msdos/mount_msdos.c | 2 | ||||
-rw-r--r-- | sbin/mount_msdosfs/mount_msdosfs.c | 2 |
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); |