]> granicus.if.org Git - zfs/commitdiff
Fix cast
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 23 Dec 2008 00:50:44 +0000 (16:50 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 23 Dec 2008 00:50:44 +0000 (16:50 -0800)
cmd/ztest/ztest.c

index 611b90053306e332c41251461168ad5e2ef7269f..b6c6c94bd0d1e4a4be8417d4be62343fe4e5e679 100644 (file)
@@ -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 */