diff options
Diffstat (limited to 'module/zfs/spa_history.c')
-rw-r--r-- | module/zfs/spa_history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_history.c b/module/zfs/spa_history.c index d2839b97f..67847b6d1 100644 --- a/module/zfs/spa_history.c +++ b/module/zfs/spa_history.c @@ -533,7 +533,7 @@ log_internal(nvlist_t *nvl, const char *operation, spa_t *spa, msg = kmem_vasprintf(fmt, adx); fnvlist_add_string(nvl, ZPOOL_HIST_INT_STR, msg); - strfree(msg); + kmem_strfree(msg); fnvlist_add_string(nvl, ZPOOL_HIST_INT_NAME, operation); fnvlist_add_uint64(nvl, ZPOOL_HIST_TXG, tx->tx_txg); |