if (zfsflags & ZS_ZFSUTIL)
zfsutil = 1;
- if ((g_zfs = libzfs_init()) == NULL)
+ if ((g_zfs = libzfs_init()) == NULL) {
+ (void) fprintf(stderr, "%s", libzfs_error_init(errno));
return (MOUNT_SYSERR);
+ }
/* try to open the dataset to access the mount point */
if ((zhp = zfs_open(g_zfs, dataset,