git: 745e044fe2d8 - stable/13 - rpc(3): Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 06:19:33 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=745e044fe2d8baebb60227954f47cefd3035225c
commit 745e044fe2d8baebb60227954f47cefd3035225c
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 07:33:24 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 06:17:17 +0000
rpc(3): Fix two typos in source code comments
- s/alloctaed/allocated/
Obtained from: NetBSD
(cherry picked from commit 5c49e1cbea1beef4d3c5c4096ed48664c3c218df)
---
lib/libc/rpc/svc_auth.c | 2 +-
sys/rpc/svc_auth.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c
index 20a84c60c18a..48560a3bc872 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -86,7 +86,7 @@ struct svc_auth_ops svc_auth_null_ops;
* set rqst->rq_xprt->verf to the appropriate response verifier;
* sets rqst->rq_client_cred to the "cooked" form of the credentials.
*
- * NB: rqst->rq_cxprt->verf must be pre-alloctaed;
+ * NB: rqst->rq_cxprt->verf must be pre-allocated;
* its length is set appropriately.
*
* The caller still owns and is responsible for msg->u.cmb.cred and
diff --git a/sys/rpc/svc_auth.c b/sys/rpc/svc_auth.c
index 75d1f21d3484..21149139b5a5 100644
--- a/sys/rpc/svc_auth.c
+++ b/sys/rpc/svc_auth.c
@@ -70,7 +70,7 @@ static const struct svc_auth_ops svc_auth_null_ops;
* set rqst->rq_xprt->verf to the appropriate response verifier;
* sets rqst->rq_client_cred to the "cooked" form of the credentials.
*
- * NB: rqst->rq_cxprt->verf must be pre-alloctaed;
+ * NB: rqst->rq_cxprt->verf must be pre-allocated;
* its length is set appropriately.
*
* The caller still owns and is responsible for msg->u.cmb.cred and