summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/cdboot/conf.c
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2005-05-03 13:02:46 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2005-05-03 13:02:46 +0000
commit73871e0e3325f7cfdcdcfd78f8dfc6b3609f8269 (patch)
tree349e9a12eb91eb127c703d836cc59b313d2e9e5e /sys/arch/i386/stand/cdboot/conf.c
parent67c593f5191b1dc903da4497feeebee472ffef8e (diff)
Convert the size of a memory chunk from bytes to megabytes before
casting to a 32-bit value, not after. Corrects the display of large memory chunks in the probing: line (mem[615K 3518M 0M a20=on] becomes mem[615K 3518M 12288M a20=on]). Bump version on boot, cdboot and pxeboot accordingly. "looks ok to me" weingart@
Diffstat (limited to 'sys/arch/i386/stand/cdboot/conf.c')
-rw-r--r--sys/arch/i386/stand/cdboot/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/cdboot/conf.c b/sys/arch/i386/stand/cdboot/conf.c
index 6587e485dd5..204ae6d5081 100644
--- a/sys/arch/i386/stand/cdboot/conf.c
+++ b/sys/arch/i386/stand/cdboot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.3 2005/04/30 16:14:35 tom Exp $ */
+/* $OpenBSD: conf.c,v 1.4 2005/05/03 13:02:45 tom Exp $ */
/*
* Copyright (c) 2004 Tom Cosgrove
@@ -43,7 +43,7 @@
#include <dev/cons.h>
#include "debug.h"
-const char version[] = "1.02";
+const char version[] = "1.03";
int debug = 1;
#undef _TEST