diff --git a/src/runtime/testdata/testprogcgo/racesig.go b/src/runtime/testdata/testprogcgo/racesig.go index e126b8becb..d0c1c3ce54 100644 --- a/src/runtime/testdata/testprogcgo/racesig.go +++ b/src/runtime/testdata/testprogcgo/racesig.go @@ -31,7 +31,7 @@ static void* signalThread(void* p) { for (i = 0; i < 100; i++) { for (j = 0; j < ALLOCERS; j++) { if (pthread_kill(pt[j], SIGCHLD) < 0) { - return; + return NULL; } } usleep(1);