aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi/ipc.c')
-rw-r--r--src/uapi/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uapi/ipc.c b/src/uapi/ipc.c
index 3ac4727..3a28afa 100644
--- a/src/uapi/ipc.c
+++ b/src/uapi/ipc.c
@@ -133,7 +133,7 @@ static bool __enough_rpc_stack(struct tcb *t)
/* if we can still fit an rpc stack into the call stack, we can safely
* do the migration. */
- return top - BASE_PAGE_SIZE - __rpc_stack_size >= RPC_STACK_BASE;
+ return top - BASE_PAGE_SIZE - rpc_stack_size() >= RPC_STACK_BASE;
}
/**