summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-10-06 23:24:45 +0000
committerkris <kris@FreeBSD.org>2000-10-06 23:24:45 +0000
commit41cfb7f781557449423a15b00f6cc4697572cd74 (patch)
tree12272aa8c2a839e9b8acc7f25b7032a2cd02bd7d /sbin
parent3ecf4cf9c09890bd8fa59178d69a1d2b5b63dbc7 (diff)
downloadFreeBSD-src-41cfb7f781557449423a15b00f6cc4697572cd74.zip
FreeBSD-src-41cfb7f781557449423a15b00f6cc4697572cd74.tar.gz
Format string fix.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck/utilities.c2
-rw-r--r--sbin/fsck_ffs/utilities.c2
-rw-r--r--sbin/fsck_ifs/utilities.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck/utilities.c b/sbin/fsck/utilities.c
index 1efdabc..0ccd9bb 100644
--- a/sbin/fsck/utilities.c
+++ b/sbin/fsck/utilities.c
@@ -561,7 +561,7 @@ dofix(idesc, msg)
if (idesc->id_type == DATA)
direrror(idesc->id_number, msg);
else
- pwarn(msg);
+ pwarn("%s", msg);
if (preen) {
printf(" (SALVAGED)\n");
idesc->id_fix = FIX;
diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c
index 1efdabc..0ccd9bb 100644
--- a/sbin/fsck_ffs/utilities.c
+++ b/sbin/fsck_ffs/utilities.c
@@ -561,7 +561,7 @@ dofix(idesc, msg)
if (idesc->id_type == DATA)
direrror(idesc->id_number, msg);
else
- pwarn(msg);
+ pwarn("%s", msg);
if (preen) {
printf(" (SALVAGED)\n");
idesc->id_fix = FIX;
diff --git a/sbin/fsck_ifs/utilities.c b/sbin/fsck_ifs/utilities.c
index 1efdabc..0ccd9bb 100644
--- a/sbin/fsck_ifs/utilities.c
+++ b/sbin/fsck_ifs/utilities.c
@@ -561,7 +561,7 @@ dofix(idesc, msg)
if (idesc->id_type == DATA)
direrror(idesc->id_number, msg);
else
- pwarn(msg);
+ pwarn("%s", msg);
if (preen) {
printf(" (SALVAGED)\n");
idesc->id_fix = FIX;
OpenPOWER on IntegriCloud