diff options
author | Brian Behlendorf <[email protected]> | 2008-12-22 16:50:44 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-12-22 16:50:44 -0800 |
commit | 683f0b1d6c492987f639532809d357ba5767064d (patch) | |
tree | 0120388efbbf84a83e582c4b855bfa2c8ecc38f2 /cmd | |
parent | 6a394806f5a393e1aca968f5f4aaaf0d45ba232f (diff) |
Fix cast
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ztest/ztest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 611b90053..b6c6c94bd 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 */ |