summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Ahrens <mahrens@delphix.com>2013-03-11 11:44:37 -0800
committerChristopher Siden <chris.siden@delphix.com>2013-03-11 12:44:37 -0700
commit77061867737e831946717f7f29d50c4b452e44e7 (patch)
treeb2b5a8e643fcf2d6c2c4d258618c3354c054b9ee
parent72a1114bccf02392ab254b9615412236f3b63256 (diff)
downloadillumos-joyent-77061867737e831946717f7f29d50c4b452e44e7.tar.gz
3604 zdb should print bpobjs more verbosely (fix zdb hang)
-rw-r--r--usr/src/cmd/zdb/zdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/cmd/zdb/zdb.c b/usr/src/cmd/zdb/zdb.c
index a851977cc5..b4b61503d9 100644
--- a/usr/src/cmd/zdb/zdb.c
+++ b/usr/src/cmd/zdb/zdb.c
@@ -1258,6 +1258,7 @@ dump_bpobj(bpobj_t *bpo, char *name, int indent)
continue;
}
dump_bpobj(&subbpo, "subobj", indent + 1);
+ bpobj_close(&subbpo);
}
} else {
(void) printf(" %*s: object %llu, %llu blkptrs, %s\n",