From 9d835656908d66f619bd14af2cabde55cf2bf450 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 27 Dec 2018 14:05:08 +0100 Subject: [PATCH] bufcache.9: Fix bread() prototype. --- share/man/man9/bufcache.9 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/man/man9/bufcache.9 b/share/man/man9/bufcache.9 index cd89631fe3..e9fe1b1976 100644 --- a/share/man/man9/bufcache.9 +++ b/share/man/man9/bufcache.9 @@ -30,7 +30,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 29, 2005 +.Dd December 27, 2018 .Dt BUFCACHE 9 .Os .Sh NAME @@ -46,7 +46,7 @@ .Ft int .Fo bread .Fa "struct vnode *vp" -.Fa "daddr_t blkno" +.Fa "off_t loffset" .Fa "int size" .Fa "struct buf **bpp" .Fc @@ -80,7 +80,7 @@ the .Xr loader 8 . .Sh FUNCTIONS .Bl -tag -width compact -.It Fn bread "*vp" "blkno" "size" "**bpp" +.It Fn bread "*vp" "loffset" "size" "**bpp" Retrieve a buffer with specified data. An internal function, .Fn getblk @@ -92,7 +92,7 @@ If the data is available in cache, the flag will be set otherwise .Fa size bytes will be read starting at block number -.Fa blkno +.Fa loffset from the block special device vnode .Fa vp . .Pp -- 2.11.4.GIT