Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 03:11:13 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r337444 - projects/bectl/lib/libbe
Message-ID:  <201808080311.w783BDSo051543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808080311.w783BDSo051543>