diff options
author | 2015-02-06 22:12:19 +0000 | |
---|---|---|
committer | 2015-02-06 22:12:19 +0000 | |
commit | 4902daa30b06cca853b8fa5de71fe770b2c0c86c (patch) | |
tree | 9cb29dec2b2141cd80d62e5bafeeba70e9fac84c | |
parent | Add __attribute__((__format__(__kprintf__))) to bios_printf() (diff) | |
download | wireguard-openbsd-4902daa30b06cca853b8fa5de71fe770b2c0c86c.tar.xz wireguard-openbsd-4902daa30b06cca853b8fa5de71fe770b2c0c86c.zip |
Fix bios_printf format specifier in debug code.
-rw-r--r-- | sys/arch/sgi/sgi/sginode.c | 6 |
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); } |