summaryrefslogtreecommitdiffstats
path: root/share/man/man9/g_attach.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/g_attach.9')
-rw-r--r--share/man/man9/g_attach.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/g_attach.9 b/share/man/man9/g_attach.9
index 96ba0eb..4bf7d9c 100644
--- a/share/man/man9/g_attach.9
+++ b/share/man/man9/g_attach.9
@@ -79,12 +79,6 @@ The topology lock has to be held.
The
.Fn g_attach
function returns 0 if successful; otherwise an error code is returned.
-.Sh ERRORS
-Possible errors:
-.Bl -tag -width Er
-.It Bq Er ELOOP
-The operation creates a topology loop.
-.El
.Sh EXAMPLES
Create a consumer, attach it to a given provider, gain read access and clean up.
.Bd -literal -offset indent
@@ -123,6 +117,12 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
g_destroy_consumer(cp);
}
.Ed
+.Sh ERRORS
+Possible errors:
+.Bl -tag -width Er
+.It Bq Er ELOOP
+The operation creates a topology loop.
+.El
.Sh SEE ALSO
.Xr geom 4 ,
.Xr DECLARE_GEOM_CLASS 9 ,
OpenPOWER on IntegriCloud