diff options
author | pjd <pjd@FreeBSD.org> | 2004-02-13 08:42:10 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-02-13 08:42:10 +0000 |
commit | ea234afcbdf52752a6c2d2db8720a386e656a0d1 (patch) | |
tree | 38fa3ca0438240b6579deff75f4ce44351df47ac /share/man/man9/g_attach.9 | |
parent | 275a1bc68b28c2fe967239673ac85644d8cf9f91 (diff) | |
download | FreeBSD-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/man9/g_attach.9')
-rw-r--r-- | share/man/man9/g_attach.9 | 6 |
1 files changed, 3 insertions, 3 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. */ |