summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-08-19 08:19:37 +0000
committerkris <kris@FreeBSD.org>2001-08-19 08:19:37 +0000
commit5e75b336b9d01ea2b70ff9f4098ca7e54f86975a (patch)
treec307dda030341761eafafb3d34259ed800c35e94 /sbin/fsck_ffs/inode.c
parent0bbccbf2dc9057e56f7233044f08c4b59f4f3e30 (diff)
downloadFreeBSD-src-5e75b336b9d01ea2b70ff9f4098ca7e54f86975a.zip
FreeBSD-src-5e75b336b9d01ea2b70ff9f4098ca7e54f86975a.tar.gz
Silence non-constant format string warnings by marking functions
as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
Diffstat (limited to 'sbin/fsck_ffs/inode.c')
-rw-r--r--sbin/fsck_ffs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 06c2e77..effe73f 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -189,7 +189,7 @@ iblock(idesc, ilevel, isize)
(void)sprintf(buf, "PARTIALLY TRUNCATED INODE I=%lu",
(u_long)idesc->id_number);
if (preen) {
- pfatal(buf);
+ pfatal("%s", buf);
} else if (dofix(idesc, buf)) {
*ap = 0;
dirty(bp);
OpenPOWER on IntegriCloud