diff options
author | Eric Taylor <Eric.Taylor@Sun.COM> | 2008-08-07 16:10:41 -0600 |
---|---|---|
committer | Eric Taylor <Eric.Taylor@Sun.COM> | 2008-08-07 16:10:41 -0600 |
commit | fe3e2633be44d2f5361a7bba26abeb80fcc04fbc (patch) | |
tree | 8ecc99bb298b8f4859f9c3b3aa97aaa6b036cab0 /usr/src/lib/libzfs/common/libzfs_dataset.c | |
parent | 0a24516770a8765ea1cdb3fb8421973f32ba503b (diff) | |
download | illumos-joyent-fe3e2633be44d2f5361a7bba26abeb80fcc04fbc.tar.gz |
6667976 support booting up a snapshot root dataset
6731594 grub should check the pool's version
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs_dataset.c')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs_dataset.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_dataset.c b/usr/src/lib/libzfs/common/libzfs_dataset.c index aa3f85a52a..e17f7605e2 100644 --- a/usr/src/lib/libzfs/common/libzfs_dataset.c +++ b/usr/src/lib/libzfs/common/libzfs_dataset.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <assert.h> #include <ctype.h> #include <errno.h> @@ -4005,7 +4003,7 @@ zvol_create_link_common(libzfs_handle_t *hdl, const char *dataset, int ifexists) if ((dhdl = di_devlink_init(ZFS_DRIVER, DI_MAKE_LINK)) == NULL) { zfs_error_aux(hdl, strerror(errno)); - (void) zfs_standard_error_fmt(hdl, EZFS_DEVLINKS, + 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); |