From 7d10aa0cf656764db1ee9fdaeeb626219a71f9e4 Mon Sep 17 00:00:00 2001 From: jlemon Date: Thu, 24 Jun 1999 20:53:24 +0000 Subject: Fix warning message; that was 4GB, not 2GB. I apparently can't do arithmetic today. --- sys/amd64/amd64/machdep.c | 4 ++-- sys/i386/i386/machdep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 54f3359..28d9841 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.342 1999/06/18 14:32:14 bde Exp $ + * $Id: machdep.c,v 1.343 1999/06/24 20:47:11 jlemon Exp $ */ #include "apm.h" @@ -1231,7 +1231,7 @@ getmemsize(int first) goto next_run; if (smap->base > 0xffffffff) { - printf("%dK of memory above 2GB ignored\n", + printf("%dK of memory above 4GB ignored\n", (u_int32_t)(smap->length / 1024)); goto next_run; } diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 54f3359..28d9841 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.342 1999/06/18 14:32:14 bde Exp $ + * $Id: machdep.c,v 1.343 1999/06/24 20:47:11 jlemon Exp $ */ #include "apm.h" @@ -1231,7 +1231,7 @@ getmemsize(int first) goto next_run; if (smap->base > 0xffffffff) { - printf("%dK of memory above 2GB ignored\n", + printf("%dK of memory above 4GB ignored\n", (u_int32_t)(smap->length / 1024)); goto next_run; } -- cgit v1.1