aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-20 13:37:47 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-06-02 01:39:48 +0000
commit7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch)
treee02ce0ba813f2cb4f20643988ec030292784cab6 /sunrpc
parent5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff)
downloadglibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz
glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.bz2
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/key_call.c2
-rw-r--r--sunrpc/rpc/clnt.h4
-rw-r--r--sunrpc/tst-svc_register.c2
-rw-r--r--sunrpc/xdr_rec.c2
-rw-r--r--sunrpc/xdr_ref.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 8ea4303..b0b29e0 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -30,7 +30,7 @@
*/
/*
* The original source is from the RPCSRC 4.0 package from Sun Microsystems.
- * The Interface to keyserver protocoll 2, RPC over AF_UNIX and Linux/doors
+ * The Interface to keyserver protocol 2, RPC over AF_UNIX and Linux/doors
* was added by Thorsten Kukuk <kukuk@suse.de>
* Since the Linux/doors project was stopped, I doubt that this code will
* ever be useful <kukuk@suse.de>.
diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h
index f4d4a94..388efaf 100644
--- a/sunrpc/rpc/clnt.h
+++ b/sunrpc/rpc/clnt.h
@@ -106,8 +106,8 @@ struct rpc_err {
int RE_errno; /* related system error */
enum auth_stat RE_why; /* why the auth error occurred */
struct {
- u_long low; /* lowest verion supported */
- u_long high; /* highest verion supported */
+ u_long low; /* lowest version supported */
+ u_long high; /* highest version supported */
} RE_vers;
struct { /* maybe meaningful if RPC_FAILED */
long s1;
diff --git a/sunrpc/tst-svc_register.c b/sunrpc/tst-svc_register.c
index 434a5be..af61f11 100644
--- a/sunrpc/tst-svc_register.c
+++ b/sunrpc/tst-svc_register.c
@@ -241,7 +241,7 @@ do_test (void)
(NULL, test_server_thread, &args));
else
test_server_thread (&args);
- /* We cannnot use _exit here because we want to test the
+ /* We cannot use _exit here because we want to test the
process cleanup. */
exit (0);
}
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index c9a1eaa..dce0383 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -102,7 +102,7 @@ typedef struct rec_strm
caddr_t out_base; /* output buffer (points to frag header) */
caddr_t out_finger; /* next output position */
caddr_t out_boundry; /* data cannot up to this address */
- uint32_t *frag_header; /* beginning of curren fragment */
+ uint32_t *frag_header; /* beginning of current fragment */
bool_t frag_sent; /* true if buffer sent in middle of record */
/*
* in-coming bits
diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c
index eab3b74..3f5904d 100644
--- a/sunrpc/xdr_ref.c
+++ b/sunrpc/xdr_ref.c
@@ -51,7 +51,7 @@
* referenced by a pointer inside the structure that is currently being
* translated. pp references a pointer to storage. If *pp is null
* the necessary storage is allocated.
- * size is the size of the referneced structure.
+ * size is the size of the referenced structure.
* proc is the routine to handle the referenced structure.
*/
bool_t