summaryrefslogtreecommitdiff
path: root/lib/libbe
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-11-21 11:22:44 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2018-11-21 11:22:44 +0000
commitcc58f749fbf054e6aeb990fe6f5c44b886c36d87 (patch)
treefcb1a8c5dd21c849542755f6ae8a2c805c767c6b /lib/libbe
parentf82dd310bb7595df632c154e0a9f5645cb414db6 (diff)
downloadsrc-test-cc58f749fbf054e6aeb990fe6f5c44b886c36d87.tar.gz
src-test-cc58f749fbf054e6aeb990fe6f5c44b886c36d87.zip
libbe(3): Put each error value in separate line.
As requested by a TODO in the source code. Reviewed by: bcr Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18063
Notes
Notes: svn path=/head/; revision=340722
Diffstat (limited to 'lib/libbe')
-rw-r--r--lib/libbe/libbe.367
1 files changed, 43 insertions, 24 deletions
diff --git a/lib/libbe/libbe.3 b/lib/libbe/libbe.3
index 4a637545ab489..4907b88cdb29b 100644
--- a/lib/libbe/libbe.3
+++ b/lib/libbe/libbe.3
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 17, 2018
+.Dd November 21, 2018
.Dt LIBBE 3
.Os
.Sh NAME
@@ -440,30 +440,49 @@ The
.Fn be_prop_list_free
function will free the property list.
.Sh DIAGNOSTICS
-Upon error, one of the following values will be returned.
-.\" TODO: make each entry on its own line.
-.Bd -ragged -offset indent
-BE_ERR_SUCCESS,
-BE_ERR_INVALIDNAME,
-BE_ERR_EXISTS,
-BE_ERR_NOENT,
-BE_ERR_PERMS,
-BE_ERR_DESTROYACT,
-BE_ERR_DESTROYMNT,
-BE_ERR_BADPATH,
-BE_ERR_PATHBUSY,
-BE_ERR_PATHLEN,
-BE_ERR_BADMOUNT,
-BE_ERR_NOORIGIN,
-BE_ERR_MOUNTED,
-BE_ERR_NOMOUNT,
-BE_ERR_ZFSOPEN,
-BE_ERR_ZFSCLONE,
-BE_ERR_IO,
-BE_ERR_NOPOOL,
-BE_ERR_NOMEM,
+Upon error, one of the following values will be returned:
+.Bl -dash -offset indent -compact
+.It
+BE_ERR_SUCCESS
+.It
+BE_ERR_INVALIDNAME
+.It
+BE_ERR_EXISTS
+.It
+BE_ERR_NOENT
+.It
+BE_ERR_PERMS
+.It
+BE_ERR_DESTROYACT
+.It
+BE_ERR_DESTROYMNT
+.It
+BE_ERR_BADPATH
+.It
+BE_ERR_PATHBUSY
+.It
+BE_ERR_PATHLEN
+.It
+BE_ERR_BADMOUNT
+.It
+BE_ERR_NOORIGIN
+.It
+BE_ERR_MOUNTED
+.It
+BE_ERR_NOMOUNT
+.It
+BE_ERR_ZFSOPEN
+.It
+BE_ERR_ZFSCLONE
+.It
+BE_ERR_IO
+.It
+BE_ERR_NOPOOL
+.It
+BE_ERR_NOMEM
+.It
BE_ERR_UNKNOWN
-.Ed
+.El
.Sh SEE ALSO
.Xr be 1
.Sh HISTORY