diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 2cab6da0f3..ce84349586 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -2395,7 +2395,7 @@ main(int argc, char **argv) kernel_init(FREAD); g_zfs = libzfs_init(); - VERIFY(g_zfs != NULL); + ASSERT(g_zfs != NULL); for (c = 0; c < 256; c++) { if (dump_all && c != 'l' && c != 'R') diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c index 2419e6b45d..d28a4f9f8e 100644 --- a/lib/libzfs/libzfs_sendrecv.c +++ b/lib/libzfs/libzfs_sendrecv.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index 37ea2cf390..fbf00b7fbe 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -579,8 +579,6 @@ libzfs_init(void) } if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { - (void) fprintf(stderr, "Unable to open %s: (%d) %s\n", - ZFS_DEV, errno, strerror(errno)); free(hdl); return (NULL); }