diff --git a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/speculative/5-1.c b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/speculative/5-1.c index 6ff3d05529..cf39dea4ef 100644 --- a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/speculative/5-1.c +++ b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/speculative/5-1.c @@ -36,7 +36,7 @@ int NUM_OF_KEYS = PTHREAD_KEYS_MAX; -static pthread_key_t keys[5]; +static pthread_key_t keys[NUM_OF_KEYS]; int main() {