summaryrefslogtreecommitdiff
path: root/common/memsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/memsize.c')
-rw-r--r--common/memsize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/memsize.c b/common/memsize.c
index 963e4f35b1..74cf075aff 100644
--- a/common/memsize.c
+++ b/common/memsize.c
@@ -73,6 +73,7 @@ long get_ram_size(long *base, long maxsize)
}
return (0);
}
+ *addr = save[i];
for (cnt = 1; cnt < maxsize / sizeof (long); cnt <<= 1) {
addr = base + cnt; /* pointer arith! */