summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-07-04 16:52:23 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-07-04 16:52:23 +0000
commitcd031f94e597c7666c3af25b840adbf6ce5d4250 (patch)
tree31d3052e254368225096f40e7085b70b2a759a4a /sys
parent6d417109153e0b34666944aea93db35673b0db1f (diff)
Format string fix: %x instead of %p for int
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/musycc_obsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/musycc_obsd.c b/sys/dev/pci/musycc_obsd.c
index 25a58d88602..44cbe406290 100644
--- a/sys/dev/pci/musycc_obsd.c
+++ b/sys/dev/pci/musycc_obsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: musycc_obsd.c,v 1.10 2011/04/03 15:36:03 jasper Exp $ */
+/* $OpenBSD: musycc_obsd.c,v 1.11 2013/07/04 16:52:22 sf Exp $ */
/*
* Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland
@@ -215,7 +215,7 @@ musycc_ebus_attach(struct device *parent, struct musycc_softc *esc,
#endif
if (ebus_attach_device(&rom, sc, 0, 0x400) != 0) {
- printf(": failed to map rom @ %05p\n", 0);
+ printf(": failed to map rom @ %05x\n", 0);
goto failed;
}