summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ext2fs/utilities.c
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-09-30 16:06:33 +0000
committeraaron <aaron@openbsd.org>2000-09-30 16:06:33 +0000
commit2cc28a79344a9da508a3408c51a6c5cee808f0b0 (patch)
tree6592b9f70cdf613fb418ed0d1d46d863b2159210 /sbin/fsck_ext2fs/utilities.c
parentWhoops, forgot to list the 3c555 device ID under media selection parts. (diff)
downloadwireguard-openbsd-2cc28a79344a9da508a3408c51a6c5cee808f0b0.tar.xz
wireguard-openbsd-2cc28a79344a9da508a3408c51a6c5cee808f0b0.zip
Some format string problems that were missed during initial audit; deraadt@ and
millert@ ok
Diffstat (limited to 'sbin/fsck_ext2fs/utilities.c')
-rw-r--r--sbin/fsck_ext2fs/utilities.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ext2fs/utilities.c b/sbin/fsck_ext2fs/utilities.c
index 5f4739a3ef4..80b784e044a 100644
--- a/sbin/fsck_ext2fs/utilities.c
+++ b/sbin/fsck_ext2fs/utilities.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utilities.c,v 1.5 2000/04/26 23:26:07 jasoni Exp $ */
+/* $OpenBSD: utilities.c,v 1.6 2000/09/30 16:06:34 aaron Exp $ */
/* $NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $ */
/*
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)utilities.c 8.1 (Berkeley) 6/5/93";
#if 0
static char rcsid[] = "$NetBSD: utilities.c,v 1.1 1997/06/11 11:22:02 bouyer Exp $";
#else
-static char rcsid[] = "$OpenBSD: utilities.c,v 1.5 2000/04/26 23:26:07 jasoni Exp $";
+static char rcsid[] = "$OpenBSD: utilities.c,v 1.6 2000/09/30 16:06:34 aaron Exp $";
#endif
#endif
#endif /* not lint */
@@ -515,7 +515,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;