diff options
author | kris <kris@FreeBSD.org> | 2000-10-06 23:24:45 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-10-06 23:24:45 +0000 |
commit | 41cfb7f781557449423a15b00f6cc4697572cd74 (patch) | |
tree | 12272aa8c2a839e9b8acc7f25b7032a2cd02bd7d | |
parent | 3ecf4cf9c09890bd8fa59178d69a1d2b5b63dbc7 (diff) | |
download | FreeBSD-src-41cfb7f781557449423a15b00f6cc4697572cd74.zip FreeBSD-src-41cfb7f781557449423a15b00f6cc4697572cd74.tar.gz |
Format string fix.
-rw-r--r-- | sbin/fsck/utilities.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ffs/utilities.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ifs/utilities.c | 2 |
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; |