]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292653 (by bapt): Report an error if zdb cannot initialize zfs
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Mar 2016 23:29:58 +0000 (23:29 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Mar 2016 23:29:58 +0000 (23:29 +0000)
commit3b81e89285afdcc2eada845d11425a13bdbcc38c
tree7e58bb0f7108b3c38828cca31a5cddf83ba055b2
parent6c97edf46768ed0a34be4ba79c81a5a8182af995
MFC r292653 (by bapt): Report an error if zdb cannot initialize zfs

If the zfs module is not present and not loadable, report an error
to the user instead of crashing

Differential Revision:  https://reviews.freebsd.org/D4691

git-svn-id: svn://svn.freebsd.org/base/stable/10@297089 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/cmd/zdb/zdb.c