diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-06 01:49:46 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-06 01:49:46 +0000 |
commit | 68fbe09129d96f8e34b094c984d94f154d42b9b5 (patch) | |
tree | 219e9d7ab14b57c36d8a674dc8aefa0dac72eb9b /sys/rpc | |
parent | cd441cb611883539e14becffc6ba847cf6b24f7a (diff) | |
download | FreeBSD-src-68fbe09129d96f8e34b094c984d94f154d42b9b5.zip FreeBSD-src-68fbe09129d96f8e34b094c984d94f154d42b9b5.tar.gz |
sys/rpc: minor spelling fixes.
No functional change.
Diffstat (limited to 'sys/rpc')
-rw-r--r-- | sys/rpc/clnt_bck.c | 2 | ||||
-rw-r--r-- | sys/rpc/clnt_dg.c | 6 | ||||
-rw-r--r-- | sys/rpc/clnt_vc.c | 6 | ||||
-rw-r--r-- | sys/rpc/svc.c | 2 | ||||
-rw-r--r-- | sys/rpc/svc.h | 4 | ||||
-rw-r--r-- | sys/rpc/types.h | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/sys/rpc/clnt_bck.c b/sys/rpc/clnt_bck.c index 477b276..f1c8dde 100644 --- a/sys/rpc/clnt_bck.c +++ b/sys/rpc/clnt_bck.c @@ -431,7 +431,7 @@ got_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 (stat == RPC_AUTHERROR) diff --git a/sys/rpc/clnt_dg.c b/sys/rpc/clnt_dg.c index d9d5e41..1f181fd 100644 --- a/sys/rpc/clnt_dg.c +++ b/sys/rpc/clnt_dg.c @@ -742,7 +742,7 @@ got_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 (stat == RPC_AUTHERROR) @@ -882,7 +882,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 */ *(uint32_t *)info = @@ -899,7 +899,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 */ *(uint32_t *)info = diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c index 3899511..1bd6e1c 100644 --- a/sys/rpc/clnt_vc.c +++ b/sys/rpc/clnt_vc.c @@ -520,7 +520,7 @@ got_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 (stat == RPC_AUTHERROR) @@ -653,7 +653,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 */ *(uint32_t *)info = @@ -671,7 +671,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 */ *(uint32_t *)info = diff --git a/sys/rpc/svc.c b/sys/rpc/svc.c index b436c18..50ab93a 100644 --- a/sys/rpc/svc.c +++ b/sys/rpc/svc.c @@ -440,7 +440,7 @@ xprt_inactive(SVCXPRT *xprt) /* * Variant of xprt_inactive() for use only when sure that port is - * assigned to thread. For example, withing receive handlers. + * assigned to thread. For example, within receive handlers. */ void xprt_inactive_self(SVCXPRT *xprt) diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h index 80285ec..22322ba 100644 --- a/sys/rpc/svc.h +++ b/sys/rpc/svc.h @@ -226,7 +226,7 @@ typedef struct __rpc_svcxprt_ext { * 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. */ struct svc_callout { TAILQ_ENTRY(svc_callout) sc_link; @@ -240,7 +240,7 @@ TAILQ_HEAD(svc_callout_list, svc_callout); /* * The services connection loss list * The dispatch routine takes request structs and runs the - * apropriate procedure. + * appropriate procedure. */ struct svc_loss_callout { TAILQ_ENTRY(svc_loss_callout) slc_link; diff --git a/sys/rpc/types.h b/sys/rpc/types.h index dd51a8a..62b5aca 100644 --- a/sys/rpc/types.h +++ b/sys/rpc/types.h @@ -94,7 +94,7 @@ struct netbuf { }; /* - * The format of the addres and options arguments of the XTI t_bind call. + * The format of the address and options arguments of the XTI t_bind call. * Only provided for compatibility, it should not be used. */ |