diff --git a/legacy/eet/src/tests/eet_suite.c b/legacy/eet/src/tests/eet_suite.c index 4da3b43c7e..f69889d3ff 100644 --- a/legacy/eet/src/tests/eet_suite.c +++ b/legacy/eet/src/tests/eet_suite.c @@ -1528,8 +1528,8 @@ START_TEST(eet_cache_concurrency) # else ret = WaitForSingleObject((HANDLE)thread, INFINITE); fail_if(ret != WAIT_OBJECT_0); - fail_if(GetExitCoeThread((HANDLE)thread, &ret) == FALSE); - fail_if(ret != 0) + fail_if(GetExitCodeThread((HANDLE)thread, &ret) == FALSE); + fail_if(ret != 0); # endif fail_if(unlink(file) != 0);