aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-06 01:49:46 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-06 01:49:46 +0000
commit6244c6e7db5c9d4908587abbdce598d7e01c4ffe (patch)
tree219e9d7ab14b57c36d8a674dc8aefa0dac72eb9b /sys/rpc
parent076e75ebe4e853c0770209a458f1e2af700aee54 (diff)
downloadsrc-6244c6e7db5c9d4908587abbdce598d7e01c4ffe.tar.gz
src-6244c6e7db5c9d4908587abbdce598d7e01c4ffe.zip
sys/rpc: minor spelling fixes.
No functional change.
Notes
Notes: svn path=/head/; revision=299150
Diffstat (limited to 'sys/rpc')
-rw-r--r--sys/rpc/clnt_bck.c2
-rw-r--r--sys/rpc/clnt_dg.c6
-rw-r--r--sys/rpc/clnt_vc.c6
-rw-r--r--sys/rpc/svc.c2
-rw-r--r--sys/rpc/svc.h4
-rw-r--r--sys/rpc/types.h2
6 files changed, 11 insertions, 11 deletions
diff --git a/sys/rpc/clnt_bck.c b/sys/rpc/clnt_bck.c
index 477b27636017..f1c8dde5c826 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 d9d5e41422ab..1f181fddb56d 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 3899511990a6..1bd6e1c99cf5 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 b436c1897ac7..50ab93a0a017 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 80285ec7a96d..22322ba68448 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 dd51a8af064d..62b5aca1022c 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.
*/