Catch up on BE_ERR messages

This commit is contained in:
Kyle Evans 2018-08-08 03:11:13 +00:00
parent b6e7c421b7
commit 50a1972ed8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bectl/; revision=337444

View File

@ -66,6 +66,12 @@ libbe_error_description(libbe_handle_t *lbh)
case BE_ERR_DESTROYMNT:
return ("cannot destroy mounted boot env unless forced");
case BE_ERR_BADPATH:
return ("path not suitable for operation");
case BE_ERR_PATHBUSY:
return ("specified path is busy");
case BE_ERR_PATHLEN:
return ("provided path name exceeds maximum length limit");
@ -87,6 +93,9 @@ libbe_error_description(libbe_handle_t *lbh)
case BE_ERR_ZFSCLONE:
return ("error when calling zfs_clone() to create boot env");
case BE_ERR_IO:
return ("input/output error");
case BE_ERR_UNKNOWN:
return ("unknown error");