summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-08-20 19:43:21 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-08-20 19:43:21 +0000
commitc969e04fc635722896cdf15cdee5b4fc1159d2c1 (patch)
tree5768fcb926edbafddd9846280361118386057b2d /sys
parent32a771898b0889c30e4f33c143c7199362e22233 (diff)
_randseed is a u_long
multiply physmem by page size when printing total memory
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index e89bfcf8940..587c97f3232 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -152,7 +152,7 @@ struct vm_map *mb_map = NULL;
extern vaddr_t avail_end;
int physmem;
-int _randseed;
+u_long _randseed;
extern caddr_t msgbufaddr;
/*
@@ -250,7 +250,7 @@ cpu_startup()
*/
printf(version);
/*identifycpu();*/
- printf("total memory = %d\n", physmem);
+ printf("total memory = %d\n", physmem * PAGE_SIZE);
/*
* Find out how much space we need, allocate it,