diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-30 01:24:24 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-30 01:24:24 +0000 |
commit | 69669cbe99c92053594f595bbb8afd89c18a1892 (patch) | |
tree | b4c646668481cdc1dd9daaea77bf963c2e2862a0 /lib/libc/rpc | |
parent | 3cfc36525eddce27cb703ad496d3805e43dc51f9 (diff) | |
download | FreeBSD-src-69669cbe99c92053594f595bbb8afd89c18a1892.zip FreeBSD-src-69669cbe99c92053594f595bbb8afd89c18a1892.tar.gz |
libc: spelling fixes.
Mostly on comments.
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r-- | lib/libc/rpc/README | 2 | ||||
-rw-r--r-- | lib/libc/rpc/clnt_dg.c | 6 | ||||
-rw-r--r-- | lib/libc/rpc/clnt_vc.c | 4 | ||||
-rw-r--r-- | lib/libc/rpc/getnetconfig.c | 2 | ||||
-rw-r--r-- | lib/libc/rpc/svc.c | 2 | ||||
-rw-r--r-- | lib/libc/rpc/svc_simple.c | 4 | ||||
-rw-r--r-- | lib/libc/rpc/svc_vc.c | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/rpc/README b/lib/libc/rpc/README index c915fad..129fe00 100644 --- a/lib/libc/rpc/README +++ b/lib/libc/rpc/README @@ -72,7 +72,7 @@ WHAT'S NEW IN THIS RELEASE: TIRPCSRC 2.3 The previous release was TIRPCSRC 2.0. 1. This release is based on Solaris 2.3. The previous release was - based on Solaris 2.0. This release contains a siginificant number of + based on Solaris 2.0. This release contains a significant number of bug fixes and other enhancements over TIRPCSRC 2.0. 2. The RPC library is thread safe for all client-side interfaces diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 274a255..3967773 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -582,7 +582,7 @@ get_reply: } } /* end successful completion */ /* - * If unsuccesful AND error is an authentication error + * If unsuccessful AND error is an authentication error * then refresh credentials and try again, else break */ else if (cu->cu_error.re_status == RPC_AUTHERROR) @@ -742,7 +742,7 @@ clnt_dg_control(CLIENT *cl, u_int request, void *info) /* * This RELIES on the information that, in the call body, * the version number field is the fifth field from the - * begining of the RPC header. MUST be changed if the + * beginning of the RPC header. MUST be changed if the * call_struct is changed */ *(u_int32_t *)info = @@ -759,7 +759,7 @@ clnt_dg_control(CLIENT *cl, u_int request, void *info) /* * This RELIES on the information that, in the call body, * the program number field is the fourth field from the - * begining of the RPC header. MUST be changed if the + * beginning of the RPC header. MUST be changed if the * call_struct is changed */ *(u_int32_t *)info = diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c index 8673a2b..1bc1500 100644 --- a/lib/libc/rpc/clnt_vc.c +++ b/lib/libc/rpc/clnt_vc.c @@ -601,7 +601,7 @@ clnt_vc_control(CLIENT *cl, u_int request, void *info) /* * This RELIES on the information that, in the call body, * the version number field is the fifth field from the - * begining of the RPC header. MUST be changed if the + * beginning of the RPC header. MUST be changed if the * call_struct is changed */ ntohlp(info, ct->ct_u.ct_mcallc + 4 * BYTES_PER_XDR_UNIT); @@ -615,7 +615,7 @@ clnt_vc_control(CLIENT *cl, u_int request, void *info) /* * This RELIES on the information that, in the call body, * the program number field is the fourth field from the - * begining of the RPC header. MUST be changed if the + * beginning of the RPC header. MUST be changed if the * call_struct is changed */ ntohlp(info, ct->ct_u.ct_mcallc + 3 * BYTES_PER_XDR_UNIT); diff --git a/lib/libc/rpc/getnetconfig.c b/lib/libc/rpc/getnetconfig.c index 6d668bf..8d7bdf3 100644 --- a/lib/libc/rpc/getnetconfig.c +++ b/lib/libc/rpc/getnetconfig.c @@ -405,7 +405,7 @@ endnetconfig(void *handlep) } /* - * Noone needs these entries anymore, then frees them. + * No one needs these entries anymore, then frees them. * Make sure all info in netconfig_info structure has been reinitialized. */ q = ni.head; diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c index d68fa9f..507d2e2 100644 --- a/lib/libc/rpc/svc.c +++ b/lib/libc/rpc/svc.c @@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$"); * The services list * Each entry represents a set of procedures (an rpc program). * The dispatch routine takes request structs and runs the - * apropriate procedure. + * appropriate procedure. */ static struct svc_callout { struct svc_callout *sc_next; diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index 1c60950..46ada77 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); /* * This interface creates a virtual listener for all the services - * started thru rpc_reg(). It listens on the same endpoint for + * started through rpc_reg(). It listens on the same endpoint for * all the services and then executes the corresponding service * for the given prognum and procnum. */ @@ -229,7 +229,7 @@ rpc_reg(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, mutex_unlock(&proglst_lock); if (done == FALSE) { - warnx("%s cant find suitable transport for %s", + warnx("%s can't find suitable transport for %s", rpc_reg_msg, nettype); return (-1); } diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c index 0f1c5bf..936e2a1 100644 --- a/lib/libc/rpc/svc_vc.c +++ b/lib/libc/rpc/svc_vc.c @@ -262,7 +262,7 @@ makefd_xprt(int fd, u_int sendsize, u_int recvsize) xprt, read_vc, write_vc); xprt->xp_p1 = cd; xprt->xp_verf.oa_base = cd->verf_body; - svc_vc_ops(xprt); /* truely deals with calls */ + svc_vc_ops(xprt); /* truly deals with calls */ xprt->xp_port = 0; /* this is a connection, not a rendezvouser */ xprt->xp_fd = fd; if (__rpc_fd2sockinfo(fd, &si) && __rpc_sockinfo2netid(&si, &netid)) |