summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
committerschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
commitd3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8 (patch)
treef412dafc7d29429919e8770cdefeb37441fc1299 /usr.sbin/rpcbind
parent718a7892bc6da2237db71c255051dd54a4e93a92 (diff)
downloadFreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.zip
FreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.tar.gz
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/rpcb_svc_com.c4
-rw-r--r--usr.sbin/rpcbind/rpcbind.c6
-rw-r--r--usr.sbin/rpcbind/warmstart.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c
index 60c3864..541d168 100644
--- a/usr.sbin/rpcbind/rpcb_svc_com.c
+++ b/usr.sbin/rpcbind/rpcb_svc_com.c
@@ -1385,7 +1385,7 @@ add_pmaplist(RPCB *arg)
/* It is TCP */
pmap.pm_prot = IPPROTO_TCP;
} else
- /* Not a IP protocol */
+ /* Not an IP protocol */
return (0);
/* interpret the universal address for TCP/IP */
@@ -1437,7 +1437,7 @@ del_pmaplist(RPCB *arg)
} else if (arg->r_netid[0] == NULL) {
prot = 0; /* Remove all occurrences */
} else {
- /* Not a IP protocol */
+ /* Not an IP protocol */
return (0);
}
for (prevpml = NULL, pml = list_pml; pml; /* cstyle */) {
diff --git a/usr.sbin/rpcbind/rpcbind.c b/usr.sbin/rpcbind/rpcbind.c
index 9a12ac0..21c19b0 100644
--- a/usr.sbin/rpcbind/rpcbind.c
+++ b/usr.sbin/rpcbind/rpcbind.c
@@ -97,7 +97,7 @@ int rpcbindlockfd;
#ifdef WARMSTART
/* Local Variable */
-static int warmstart = 0; /* Grab a old copy of registrations */
+static int warmstart = 0; /* Grab an old copy of registrations. */
#endif
#ifdef PORTMAP
@@ -339,7 +339,7 @@ init_transport(struct netconfig *nconf)
hints.ai_flags &= AI_NUMERICHOST;
} else {
/*
- * Skip if we have a AF_INET6 adress
+ * Skip if we have an AF_INET6 adress.
*/
if (inet_pton(AF_INET6,
hosts[nhostsbak], host_addr) == 1)
@@ -352,7 +352,7 @@ init_transport(struct netconfig *nconf)
hints.ai_flags &= AI_NUMERICHOST;
} else {
/*
- * Skip if we have a AF_INET adress
+ * Skip if we have an AF_INET adress.
*/
if (inet_pton(AF_INET, hosts[nhostsbak],
host_addr) == 1)
diff --git a/usr.sbin/rpcbind/warmstart.c b/usr.sbin/rpcbind/warmstart.c
index fed9231..1962e1c 100644
--- a/usr.sbin/rpcbind/warmstart.c
+++ b/usr.sbin/rpcbind/warmstart.c
@@ -28,7 +28,7 @@
*/
/*
* warmstart.c
- * Allows for gathering of registrations from a earlier dumped file.
+ * Allows for gathering of registrations from an earlier dumped file.
*
* Copyright (c) 1990 by Sun Microsystems, Inc.
*/
OpenPOWER on IntegriCloud