diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 985168258b..8c689a66f0 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -3106,7 +3106,7 @@ ztest_run(char *pool) /* * Create a thread to periodically resume suspended I/O. */ - VERIFY(pthread_create(&resume_tid, NULL, ztest_resume, spa) == 0); + VERIFY(pthread_create(&resume_tid, NULL, ztest_resume_thread, spa)==0); /* * Verify that we can safely inquire about about any object,