diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index ecf044090..d626d0824 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -3067,7 +3067,7 @@ open_objset(const char *path, const void *tag, objset_t **osp) } sa_os = *osp; - return (0); + return (err); } static void