summaryrefslogtreecommitdiffstats
path: root/share/man/man9/uio.9
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-02-02 21:38:10 +0000
committermpp <mpp@FreeBSD.org>1997-02-02 21:38:10 +0000
commit8a3aa59014a261cbb9430564454dfcbddfa80f69 (patch)
tree5e1db0d0d41e99e1749cfc9dabeb920a01c48d11 /share/man/man9/uio.9
parente6146b21843fb7496815f6f75d745422de6debec (diff)
downloadFreeBSD-src-8a3aa59014a261cbb9430564454dfcbddfa80f69.zip
FreeBSD-src-8a3aa59014a261cbb9430564454dfcbddfa80f69.tar.gz
Fix a typo and one small style point.
Diffstat (limited to 'share/man/man9/uio.9')
-rw-r--r--share/man/man9/uio.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index fc29c89..bfdca77 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -68,7 +68,7 @@ appropriate driver
or
.Em write
entry will be called with a pointer to a
-.Li struct uio
+.Fa "struct uio"
being passed. The transfer request is encoded in this structure.
The driver itself should use
.Fn uiomove
@@ -133,7 +133,7 @@ fooread(dev_t dev, struct uio *uio, int flag)
while (uio->uio_resid > 0) {
if (data_available > 0) {
- amnt = MIN(uio->uio_resid, data_availabe);
+ amnt = MIN(uio->uio_resid, data_available);
if ((rv = uiomove((caddr_t)buffer, amnt, uio))
!= 0)
goto error;
OpenPOWER on IntegriCloud