summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-06 22:12:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-06 22:12:20 +0000
commit211f53371300f03d981cb9a7842ecc35a0984d1c (patch)
tree4c7f2dead8f8cf4d409ce99e3a21b7c19bc3288e /sys
parent25964ee2ffe67e72129ee038a3d67029cc92dde1 (diff)
Fix bios_printf format specifier in debug code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/sgi/sginode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/sgi/sginode.c b/sys/arch/sgi/sgi/sginode.c
index f9bfc878263..d144f251f52 100644
--- a/sys/arch/sgi/sgi/sginode.c
+++ b/sys/arch/sgi/sgi/sginode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sginode.c,v 1.30 2014/11/24 16:40:29 miod Exp $ */
+/* $OpenBSD: sginode.c,v 1.31 2015/02/06 22:12:19 miod Exp $ */
/*
* Copyright (c) 2008, 2009, 2011 Miodrag Vallat.
*
@@ -533,7 +533,7 @@ kl_add_memory_ip27(int16_t nasid, int16_t *sizes, unsigned int cnt)
* We could hijack the smallest segment here.
* But is it really worth doing?
*/
- bios_printf("%u MB of memory could not be "
+ bios_printf("%lu MB of memory could not be "
"managed, increase MAXMEMSEGS\n",
ptoa(np) >> 20);
}
@@ -580,7 +580,7 @@ kl_add_memory_ip35(int16_t nasid, int16_t *sizes, unsigned int cnt)
* We could hijack the smallest segment here.
* But is it really worth doing?
*/
- bios_printf("%u MB of memory could not be "
+ bios_printf("%lu MB of memory could not be "
"managed, increase MAXMEMSEGS\n",
ptoa(np) >> 20);
}