summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2006-02-14 17:16:20 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2006-02-14 17:16:20 +0000
commit8b930f81a38d85ce0dc8c8fabf5432564a03a4ee (patch)
treea530e5de68969e7523493726a078ec3bf2669c66 /sys/arch/amd64
parent94e08224a7c61162f7ec57d189700ba5b2075734 (diff)
Fix botched format string specifiers. From adobriyan at gmail.com.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/installboot/installboot.c b/sys/arch/amd64/stand/installboot/installboot.c
index 477f9d78162..057d3d12be2 100644
--- a/sys/arch/amd64/stand/installboot/installboot.c
+++ b/sys/arch/amd64/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.5 2004/07/15 21:44:16 tom Exp $ */
+/* $OpenBSD: installboot.c,v 1.6 2006/02/14 17:16:19 aaron Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -162,7 +162,7 @@ main(int argc, char *argv[])
/* Check disklabel. */
if (dl.d_magic != DISKMAGIC)
- err(1, "bad disklabel magic=%0x8x", dl.d_magic);
+ err(1, "bad disklabel magic=0x%08x", dl.d_magic);
/* Warn on unknown disklabel types. */
if (dl.d_type == 0)