From 430ce591256bc2aa0b150e6f7bc4fa879627d512 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 10 Jul 2000 08:11:52 +0000 Subject: [PATCH] Don't call err with no format string. --- sbin/mount_msdos/mount_msdos.c | 2 +- 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 d2bcb2632e8b..8265826239fb 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 d2bcb2632e8b..8265826239fb 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);