diff options
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/libsa/cmd_i386.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/stand/libsa/memprobe.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c index 9b087eda4ab..7568f0fd007 100644 --- a/sys/arch/i386/stand/libsa/cmd_i386.c +++ b/sys/arch/i386/stand/libsa/cmd_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd_i386.c,v 1.11 1997/10/17 18:46:55 weingart Exp $ */ +/* $OpenBSD: cmd_i386.c,v 1.12 1997/10/20 14:47:42 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff, Tobias Weingartner @@ -150,8 +150,8 @@ Xmemory() int count, total = 0; for(count = 0; tm[count].type != BIOS_MAP_END; count++){ - printf("Region %d: type %u at 0x%x for %uKB\n", count, - tm[count].type, tm[count].addr, tm[count].size/1024); + printf("Region %d: type %u at 0x%lx for %luKB\n", count, + tm[count].type, (long)tm[count].addr, (long)tm[count].size/1024); if(tm[count].type == BIOS_MAP_FREE) total += tm[count].size; diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c index a8c0b51a683..b0b96b080a9 100644 --- a/sys/arch/i386/stand/libsa/memprobe.c +++ b/sys/arch/i386/stand/libsa/memprobe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memprobe.c,v 1.16 1997/10/17 18:46:58 weingart Exp $ */ +/* $OpenBSD: memprobe.c,v 1.17 1997/10/20 14:47:42 mickey Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -385,7 +385,7 @@ memprobe() if(tm[count].type == BIOS_MAP_FREE) { total += tm[count].size; - printf(" %dKB", tm[count].size/1024); + printf(" %luKB", (long)tm[count].size/1024); } } printf("\n"); |