git: b18f3a0b220d - stable/12 - 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:33:23 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=b18f3a0b220dc13f6dd89797add3aa10f37dc229
commit b18f3a0b220dc13f6dd89797add3aa10f37dc229
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:22:29 +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 5dbc64b74769..369b9949d6de 100644
--- a/sys/rpc/svc_auth.c
+++ b/sys/rpc/svc_auth.c
@@ -69,7 +69,7 @@ static 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