summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r--ACE/ace/OS_NS_Thread.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp
index 2d2b4cae797..598fa0f0762 100644
--- a/ACE/ace/OS_NS_Thread.cpp
+++ b/ACE/ace/OS_NS_Thread.cpp
@@ -5132,7 +5132,9 @@ ACE_END_VERSIONED_NAMESPACE_DECL
int
spa (FUNCPTR entry, ...)
{
- static _Vx_usr_arg_t const ACE_MAX_ARGS = 10;
+ // The called entrypoint can get the function name plus the normal 10
+ // optional arguments.
+ static _Vx_usr_arg_t const ACE_MAX_ARGS = 1 + 10;
static char *argv[ACE_MAX_ARGS] = { 0 };
va_list pvar;
_Vx_usr_arg_t argc;