diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-10 20:11:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-10 20:11:05 +0000 |
commit | c224acfbabfc3c399b5b0866f2e1f7cd75987c54 (patch) | |
tree | 06195930abf7c26c4943f3d2bdf3ff55deb00a26 /sys | |
parent | 499d6eb5bd69bc9c0b22b90a636038757039d4f2 (diff) |
properly report >= 2GB of ram; bug found by matthieu
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 503c1c0519c..2e4471953e7 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.21 2001/11/09 15:25:55 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.22 2001/11/10 20:11:04 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -249,7 +249,7 @@ cpu_startup() */ printf(version); /*identifycpu();*/ - printf("total memory = %d\n", physmem * PAGE_SIZE); + printf("total memory = %ld\n", (long)physmem * PAGE_SIZE); /* * Find out how much space we need, allocate it, |