git: 048074464180 - stable/12 - nfsclient: Fix a typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 16:41:55 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=048074464180f03b29e6db1d2bb13c1ec0469575
commit 048074464180f03b29e6db1d2bb13c1ec0469575
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-03-27 17:27:05 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-03-30 16:41:48 +0000
nfsclient: Fix a typos in source code comments
- s/ony/only/
Obtained from: NetBSD
(cherry picked from commit c1ad8a39a1c4271be62229cf9f6e93e7f1f569e7)
---
sys/fs/nfsclient/nfs_clcomsubs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/fs/nfsclient/nfs_clcomsubs.c b/sys/fs/nfsclient/nfs_clcomsubs.c
index 4d6205fb0358..5e2c1145b70b 100644
--- a/sys/fs/nfsclient/nfs_clcomsubs.c
+++ b/sys/fs/nfsclient/nfs_clcomsubs.c
@@ -53,7 +53,7 @@ static nfsuint64 nfs_nullcookie = {{ 0, 0 }};
/*
* 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)
@@ -136,7 +136,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, struct mbuf **mbp, char **cpp)