From 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Sat, 20 May 2023 13:37:47 +0000 Subject: Fix all the remaining misspellings -- BZ 25337 --- sunrpc/key_call.c | 2 +- sunrpc/rpc/clnt.h | 4 ++-- sunrpc/tst-svc_register.c | 2 +- sunrpc/xdr_rec.c | 2 +- sunrpc/xdr_ref.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 8ea4303d7d..b0b29e09a7 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 * Since the Linux/doors project was stopped, I doubt that this code will * ever be useful . diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h index f4d4a941c7..388efaf887 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 434a5bedef..af61f11263 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 c9a1eaad63..dce0383039 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 eab3b74227..3f5904d4a2 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 -- cgit 1.4.1