aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index 10a8df1754..8fd9d89e64 100644
--- a/cont.c
+++ b/cont.c
@@ -148,8 +148,7 @@ cont_memsize(void *ptr)
}
#ifdef __ia64
if (cont->machine_register_stack) {
- size += (cont->machine_register_stack + cont->machine_register_stack_size) *
- sizeof(*cont->machine_register_stack);
+ size += cont->machine_register_stack_size * sizeof(*cont->machine_register_stack);
}
#endif
}