summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-09-28 21:39:11 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-09-28 21:39:11 +0000
commit5eec23025f66c3d371f79c752d0fcc3c1fd89d8e (patch)
treedff10fe3886ce8c06da7b13fb9cf9cfe425b9a7c
parent059b1b827700d5f196e3585177482fe04188c4fa (diff)
Notes
-rw-r--r--sys/boot/i386/libi386/biosmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosmem.c b/sys/boot/i386/libi386/biosmem.c
index 8322654052b9..1535e052eab7 100644
--- a/sys/boot/i386/libi386/biosmem.c
+++ b/sys/boot/i386/libi386/biosmem.c
@@ -45,7 +45,7 @@ getextmem(void)
extkb = v86.eax & 0xffff;
/* Set memtop to actual top or 16M, whicheve is less */
- memtop = min((0x100000 + (extkb + 1024)), (16 * 1024 * 1024));
+ memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));
return(extkb);
}