diff options
Diffstat (limited to 'cmd/zhack/zhack.c')
-rw-r--r-- | cmd/zhack/zhack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zhack/zhack.c b/cmd/zhack/zhack.c index a7da371c8..eedd17c30 100644 --- a/cmd/zhack/zhack.c +++ b/cmd/zhack/zhack.c @@ -464,7 +464,7 @@ zhack_do_feature_ref(int argc, char **argv) if (decr) { uint64_t count; if (feature_get_refcount_from_disk(spa, &feature, - &count) == 0 && count != 0) { + &count) == 0 && count == 0) { fatal(spa, FTAG, "feature refcount already 0: %s", feature.fi_guid); } |