summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/unix')
-rwxr-xr-xsrc/vlib/unix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 24ae416dbf4..ed909b65feb 100755
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -632,7 +632,7 @@ vlib_thread_stack_init (uword thread_index)
{
vec_validate (vlib_thread_stacks, thread_index);
vlib_thread_stacks[thread_index] = clib_mem_alloc_aligned
- (VLIB_THREAD_STACK_SIZE, VLIB_THREAD_STACK_SIZE);
+ (VLIB_THREAD_STACK_SIZE, clib_mem_get_page_size ());
/*
* Disallow writes to the bottom page of the stack, to