diff options
author | ek110237 <none@none> | 2007-03-20 13:38:31 -0700 |
---|---|---|
committer | ek110237 <none@none> | 2007-03-20 13:38:31 -0700 |
commit | d7306b64c847d897abb9ece8624fca9cf28d358f (patch) | |
tree | d3ec610008258452cb458a6175d0a48b42d80fc4 /usr/src/lib/libzfs/common/libzfs_pool.c | |
parent | f5a18a30a06b60eec275589214da939abbaa99d9 (diff) | |
download | illumos-gate-d7306b64c847d897abb9ece8624fca9cf28d358f.tar.gz |
6529406 zpool history needs to bump the on-disk version
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs_pool.c')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs_pool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_pool.c b/usr/src/lib/libzfs/common/libzfs_pool.c index 0e173bc019..0f76a53b57 100644 --- a/usr/src/lib/libzfs/common/libzfs_pool.c +++ b/usr/src/lib/libzfs/common/libzfs_pool.c @@ -1712,6 +1712,10 @@ get_history(zpool_handle_t *zhp, char *buf, uint64_t *off, uint64_t *len) return (zfs_error_fmt(hdl, EZFS_NOHISTORY, dgettext(TEXT_DOMAIN, "cannot get history for pool " "'%s'"), zhp->zpool_name)); + case ENOTSUP: + return (zfs_error_fmt(hdl, EZFS_BADVERSION, + dgettext(TEXT_DOMAIN, "cannot get history for pool " + "'%s', pool must be upgraded"), zhp->zpool_name)); default: return (zpool_standard_error_fmt(hdl, errno, dgettext(TEXT_DOMAIN, |