changeset 7301:fc54ebb42916

6667976 support booting up a snapshot root dataset (fix lint)
author Eric Taylor <Eric.Taylor@Sun.COM>
date Thu, 07 Aug 2008 20:15:43 -0600
parents 3f0c3af330d3
children d9c4046525ac
files usr/src/lib/libzfs/common/libzfs_dataset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/libzfs/common/libzfs_dataset.c	Thu Aug 07 16:10:41 2008 -0600
+++ b/usr/src/lib/libzfs/common/libzfs_dataset.c	Thu Aug 07 20:15:43 2008 -0600
@@ -4003,7 +4003,7 @@
 		if ((dhdl = di_devlink_init(ZFS_DRIVER,
 		    DI_MAKE_LINK)) == NULL) {
 			zfs_error_aux(hdl, strerror(errno));
-			zfs_error_fmt(hdl, errno,
+			(void) zfs_error_fmt(hdl, errno,
 			    dgettext(TEXT_DOMAIN, "cannot create device links "
 			    "for '%s'"), dataset);
 			(void) ioctl(hdl->libzfs_fd, ZFS_IOC_REMOVE_MINOR, &zc);