summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-02-13 08:42:10 +0000
committerpjd <pjd@FreeBSD.org>2004-02-13 08:42:10 +0000
commitea234afcbdf52752a6c2d2db8720a386e656a0d1 (patch)
tree38fa3ca0438240b6579deff75f4ce44351df47ac /share/man
parent275a1bc68b28c2fe967239673ac85644d8cf9f91 (diff)
downloadFreeBSD-src-ea234afcbdf52752a6c2d2db8720a386e656a0d1.zip
FreeBSD-src-ea234afcbdf52752a6c2d2db8720a386e656a0d1.tar.gz
Update manual pages: the name of function g_access_rel() has
changed to g_access(). Approved by: scottl (mentor)
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/g_attach.96
-rw-r--r--share/man/man9/g_consumer.94
2 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man9/g_attach.9 b/share/man/man9/g_attach.9
index 9ed77f0..d7b5300 100644
--- a/share/man/man9/g_attach.9
+++ b/share/man/man9/g_attach.9
@@ -42,7 +42,7 @@ The
.Fn g_attach
function attaches given consumer to given provider.
For real provider access (ie. I/O operations), one still need to call the
-.Fn g_access_rel
+.Fn g_access
function on consumer to gain access to attached provider.
.Pp
The
@@ -101,7 +101,7 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
return;
}
/* Open provider for reading through our consumer. */
- if (g_access_rel(cp, 1, 0, 0) != 0) {
+ if (g_access(cp, 1, 0, 0) != 0) {
g_detach(cp);
g_destroy_consumer(cp);
return;
@@ -114,7 +114,7 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
g_topology_lock();
/* Disconnect from provider (release access count). */
- g_access_rel(cp, -1, 0, 0);
+ g_access(cp, -1, 0, 0);
/* Detach from provider. */
g_detach(cp);
/* Destroy consumer. */
diff --git a/share/man/man9/g_consumer.9 b/share/man/man9/g_consumer.9
index 17b6c11..63094ce 100644
--- a/share/man/man9/g_consumer.9
+++ b/share/man/man9/g_consumer.9
@@ -104,7 +104,7 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
return;
}
/* Open provider for reading through our consumer. */
- if (g_access_rel(cp, 1, 0, 0) != 0) {
+ if (g_access(cp, 1, 0, 0) != 0) {
g_detach(cp);
g_destroy_consumer(cp);
return;
@@ -117,7 +117,7 @@ some_function(struct g_geom *mygeom, struct g_provider *pp)
g_topology_lock();
/* Disconnect from provider (release access count). */
- g_access_rel(cp, -1, 0, 0);
+ g_access(cp, -1, 0, 0);
/* Detach from provider. */
g_detach(cp);
/* Destroy consumer. */
OpenPOWER on IntegriCloud