summaryrefslogtreecommitdiffstats
path: root/lib/libgeom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libgeom')
-rw-r--r--lib/libgeom/libgeom.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libgeom/libgeom.3 b/lib/libgeom/libgeom.3
index ff8b5fd..f0e61bb 100644
--- a/lib/libgeom/libgeom.3
+++ b/lib/libgeom/libgeom.3
@@ -79,8 +79,9 @@ functions open and close the necessary pathways to access the raw
statistics information in the kernel.
These functions are likely to
open one or more files and cache the file descriptors locally.
+The
.Fn geom_stats_open
-returns zero on success, and sets
+function returns zero on success, and sets
.Va errno
if not.
.Pp
@@ -101,8 +102,9 @@ as possible, no guarantee is given that it will actually be so.
The snapshot must be freed again using the
.Fn geom_stats_snapshot_free
function.
+The
.Fn geom_stats_snapshot_get
-returns
+function returns
.Dv NULL
on failure.
.Pp
OpenPOWER on IntegriCloud