summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/dev/if_cnmac.c
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2014-05-10 22:25:16 +0000
committerjasper <jasper@openbsd.org>2014-05-10 22:25:16 +0000
commitf47f0c335c767c988a11f25bc64d8215587af41e (patch)
treefb86eceda6a4312eeabe92ce01f367e44b707dbd /sys/arch/octeon/dev/if_cnmac.c
parentsigh, another case of user.h before syscall_mi.h (diff)
downloadwireguard-openbsd-f47f0c335c767c988a11f25bc64d8215587af41e.tar.xz
wireguard-openbsd-f47f0c335c767c988a11f25bc64d8215587af41e.zip
various format string fixes and remove -Wno-format from octeon
feedback/ok miod@
Diffstat (limited to 'sys/arch/octeon/dev/if_cnmac.c')
-rw-r--r--sys/arch/octeon/dev/if_cnmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/if_cnmac.c b/sys/arch/octeon/dev/if_cnmac.c
index f26c0019d7f..385de3803d5 100644
--- a/sys/arch/octeon/dev/if_cnmac.c
+++ b/sys/arch/octeon/dev/if_cnmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnmac.c,v 1.13 2014/03/10 09:41:27 jasper Exp $ */
+/* $OpenBSD: if_cnmac.c,v 1.14 2014/05/10 22:25:16 jasper Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -928,7 +928,7 @@ if_cnmac_kvtophys(vaddr_t kva)
else if (kva >= CKSEG1_BASE && kva < CKSEG1_BASE + CKSEG_SIZE)
return CKSEG1_TO_PHYS(kva);
- printf("kva %p is not be able to convert physical address\n", kva);
+ printf("kva %lx is not be able to convert physical address\n", kva);
panic("if_cnmac_kvtophys");
}