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