aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ztest.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ztest.c')
-rw-r--r--cmd/ztest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ztest.c b/cmd/ztest.c
index 6a9264ddc..7c9db84d4 100644
--- a/cmd/ztest.c
+++ b/cmd/ztest.c
@@ -6746,7 +6746,7 @@ ztest_reguid(ztest_ds_t *zd, uint64_t id)
load = spa_load_guid(spa);
(void) pthread_rwlock_wrlock(&ztest_name_lock);
- error = spa_change_guid(spa);
+ error = spa_change_guid(spa, NULL);
zs->zs_guid = spa_guid(spa);
(void) pthread_rwlock_unlock(&ztest_name_lock);