diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 5868d60af2..0ef6499d20 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -171,8 +171,8 @@ typedef struct ztest_shared_opts { } ztest_shared_opts_t; static const ztest_shared_opts_t ztest_opts_defaults = { - .zo_pool = { 'z', 't', 'e', 's', 't', '\0' }, - .zo_dir = { '/', 't', 'm', 'p', '\0' }, + .zo_pool = "ztest", + .zo_dir = "/tmp", .zo_alt_ztest = { '\0' }, .zo_alt_libpath = { '\0' }, .zo_vdevs = 5,