svn commit: r337444 - projects/bectl/lib/libbe
Kyle Evans
kevans at FreeBSD.org
Wed Aug 8 03:11:14 UTC 2018
Author: kevans
Date: Wed Aug 8 03:11:13 2018
New Revision: 337444
URL: https://svnweb.freebsd.org/changeset/base/337444
Log:
Catch up on BE_ERR messages
Modified:
projects/bectl/lib/libbe/be_error.c
Modified: projects/bectl/lib/libbe/be_error.c
==============================================================================
--- projects/bectl/lib/libbe/be_error.c Wed Aug 8 02:30:34 2018 (r337443)
+++ projects/bectl/lib/libbe/be_error.c Wed Aug 8 03:11:13 2018 (r337444)
@@ -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");
@@ -86,6 +92,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");
More information about the svn-src-projects
mailing list