aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zdb
diff options
context:
space:
mode:
authorGeorge Amanakis <[email protected]>2023-03-07 22:50:44 +0100
committerGitHub <[email protected]>2023-03-07 13:50:44 -0800
commit12a240ac0b3b89e9210b3a2a539c1f74488e927d (patch)
tree6a4567293fe10de9e4c729f8b12e842f3a1141ee /cmd/zdb
parenta55254be7a5cb67c45e2b8ab654d90147d06e1e1 (diff)
Fix a typo in ac2038a
Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Yao <[email protected]> Signed-off-by: George Amanakis <[email protected]> Closes #14585 Closes #14592
Diffstat (limited to 'cmd/zdb')
-rw-r--r--cmd/zdb/zdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c
index 58bd1da57..6c8d73713 100644
--- a/cmd/zdb/zdb.c
+++ b/cmd/zdb/zdb.c
@@ -7689,7 +7689,7 @@ dump_mos_leaks(spa_t *spa)
mos_obj_refd(spa->spa_errlog_last);
mos_obj_refd(spa->spa_errlog_scrub);
- if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) {
+ if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) {
errorlog_count_refd(mos, spa->spa_errlog_last);
errorlog_count_refd(mos, spa->spa_errlog_scrub);
}