diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index f9730e0c95..d39028eb5e 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -764,11 +764,11 @@ ztest_replay_remove(ztest_replay_t *zr, lr_remove_t *lr, boolean_t byteswap) zil_replay_func_t *ztest_replay_vector[TX_MAX_TYPE] = { NULL, /* 0 no such transaction type */ - (zil_replay_func_t)ztest_replay_create, /* TX_CREATE */ + (zil_replay_func_t *)ztest_replay_create,/* TX_CREATE */ NULL, /* TX_MKDIR */ NULL, /* TX_MKXATTR */ NULL, /* TX_SYMLINK */ - (zil_replay_func_t)ztest_replay_remove, /* TX_REMOVE */ + (zil_replay_func_t *)ztest_replay_remove,/* TX_REMOVE */ NULL, /* TX_RMDIR */ NULL, /* TX_LINK */ NULL, /* TX_RENAME */