summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-21 19:38:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-21 19:38:21 +0000
commit0014379bcaab59183617e3912fdc7589cf2c0322 (patch)
tree4ca8ad20ee3218dc63da792a20b7787c0f43ac94 /sys
parentdca03c44410a2d8b47f0da0011c6f8f4a65b44aa (diff)
Fix math in previous. Oops.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/sgi/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index a10c1d66f85..0f7445c06c1 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.121 2012/04/21 19:19:06 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.122 2012/04/21 19:38:20 miod Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -695,7 +695,7 @@ cpu_startup()
printf("real mem = %lu (%luMB)\n", ptoa((psize_t)physmem),
ptoa((psize_t)physmem)/1024/1024);
printf("rsvd mem = %lu (%luMB)\n", ptoa((psize_t)rsvdmem),
- ptoa((psize_t)rsvdmem + 1023 * 1024)/1024/1024);
+ (ptoa((psize_t)rsvdmem) + 1023 * 1024)/1024/1024);
/*
* Allocate a submap for exec arguments. This map effectively