summaryrefslogtreecommitdiffstats
path: root/src/svm/ssvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm/ssvm.c')
-rw-r--r--src/svm/ssvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c
index cfdb796c35a..1a677fc5c62 100644
--- a/src/svm/ssvm.c
+++ b/src/svm/ssvm.c
@@ -404,7 +404,7 @@ ssvm_server_init_private (ssvm_private_t * ssvm)
clib_memset (sh, 0, sizeof (*sh));
sh->heap = heap;
sh->ssvm_size = rnd_size;
- sh->ssvm_va = pointer_to_uword (heap);
+ sh->ssvm_va = pointer_to_uword (sh);
sh->type = SSVM_SEGMENT_PRIVATE;
oldheap = ssvm_push_heap (sh);