diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 126ab990ad..ce494fa797 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -3114,7 +3114,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,