git: 87aff051642a - stable/14 - xdr(3): Fix a few typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Mar 2024 05:56:10 UTC
The branch stable/14 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=87aff051642a51fccbb503f430c9bff0f823fdb4
commit 87aff051642a51fccbb503f430c9bff0f823fdb4
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-03-23 07:43:41 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-03-26 05:55:55 +0000
xdr(3): Fix a few typos in source code comments
- s/reoutines/routines/
- s/paraemters/parameters/
Obtained from: NetBSD
(cherry picked from commit 577a721d05aa20f38a615ad1cd5089a51c8571c1)
---
lib/libc/xdr/xdr_rec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libc/xdr/xdr_rec.c b/lib/libc/xdr/xdr_rec.c
index 3f0dc6ec3cba..ee5f1d1d929f 100644
--- a/lib/libc/xdr/xdr_rec.c
+++ b/lib/libc/xdr/xdr_rec.c
@@ -226,7 +226,7 @@ xdrrec_create(XDR *xdrs, u_int sendsize, u_int recvsize, void *tcp_handle,
/*
- * The reoutines defined below are the xdr ops which will go into the
+ * The routines defined below are the xdr ops which will go into the
* xdr handle filled in by xdrrec_create.
*/
@@ -488,7 +488,7 @@ xdrrec_eof(XDR *xdrs)
/*
* The client must tell the package when an end-of-record has occurred.
- * The second paraemters tells whether the record should be flushed to the
+ * The second parameters tells whether the record should be flushed to the
* (output) tcp stream. (This let's the package support batched or
* pipelined procedure calls.) TRUE => immmediate flush to tcp connection.
*/