aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-03-27 17:27:05 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-03-27 17:27:05 +0000
commitc1ad8a39a1c4271be62229cf9f6e93e7f1f569e7 (patch)
tree7c076c256f3d40ccaadb5b6e94a36093843244cd
parent2533b5dc82701ac5e31d0f98dd15362397b2478e (diff)
downloadsrc-c1ad8a39a1c4271be62229cf9f6e93e7f1f569e7.tar.gz
src-c1ad8a39a1c4271be62229cf9f6e93e7f1f569e7.zip
nfsclient: Fix a typos in source code comments
- s/ony/only/ Obtained from: NetBSD MFC after: 3 days
-rw-r--r--sys/fs/nfsclient/nfs_clcomsubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nfsclient/nfs_clcomsubs.c b/sys/fs/nfsclient/nfs_clcomsubs.c
index 8f593a8d3c92..640d47fed93d 100644
--- a/sys/fs/nfsclient/nfs_clcomsubs.c
+++ b/sys/fs/nfsclient/nfs_clcomsubs.c
@@ -51,7 +51,7 @@ NFSCLSTATEMUTEX;
/*
* copies a uio scatter/gather list to an mbuf chain.
- * NOTE: can ony handle iovcnt == 1
+ * NOTE: can only handle iovcnt == 1
*/
void
nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz)
@@ -155,7 +155,7 @@ nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz)
/*
* copies a uio scatter/gather list to an mbuf chain.
* This version returns the mbuf list and does not use "nd".
- * NOTE: can ony handle iovcnt == 1
+ * NOTE: can only handle iovcnt == 1
*/
struct mbuf *
nfsm_uiombuflist(struct uio *uiop, int siz, u_int maxext)