diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c
index 4c35c67e8b..3bc201408b 100644
--- a/cmd/ztest/ztest.c
+++ b/cmd/ztest/ztest.c
@@ -3116,7 +3116,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,