summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zdb
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/zdb')
-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 4279e64abd..12e49c1db6 100644
--- a/usr/src/cmd/zdb/zdb.c
+++ b/usr/src/cmd/zdb/zdb.c
@@ -2287,6 +2287,7 @@ main(int argc, char **argv)
kernel_init(FREAD);
g_zfs = libzfs_init();
+ ASSERT(g_zfs != NULL);
/*
* Disable vdev caching. If we don't do this, live pool traversal