diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-01 16:41:25 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-01 16:41:25 +0000 |
commit | c62d640ded94f780da752b95b417f8be00e391b1 (patch) | |
tree | 3118e11a7933104f1e6df5477299cd53b318ef77 | |
parent | 23242cec26e25215295c58ecc10080af68091e27 (diff) | |
download | FreeBSD-src-c62d640ded94f780da752b95b417f8be00e391b1.zip FreeBSD-src-c62d640ded94f780da752b95b417f8be00e391b1.tar.gz |
usr.sbin: minor spelling fixes on comments.
No functional change.
-rw-r--r-- | usr.sbin/camdd/camdd.c | 2 | ||||
-rw-r--r-- | usr.sbin/cron/cron/cron.c | 4 | ||||
-rw-r--r-- | usr.sbin/cron/cron/popen.c | 2 | ||||
-rw-r--r-- | usr.sbin/ctladm/ctladm.c | 2 | ||||
-rw-r--r-- | usr.sbin/gssd/gssd.c | 2 | ||||
-rw-r--r-- | usr.sbin/jail/jailparse.y | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/common_source/common.c | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/lpd/recvjob.c | 4 | ||||
-rw-r--r-- | usr.sbin/nandsim/nandsim_cfgparse.c | 2 | ||||
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/camdd/camdd.c b/usr.sbin/camdd/camdd.c index 9284eb5..badfce1 100644 --- a/usr.sbin/camdd/camdd.c +++ b/usr.sbin/camdd/camdd.c @@ -446,7 +446,7 @@ static int need_status = 0; #endif -/* Generically usefull offsets into the peripheral private area */ +/* Generically useful offsets into the peripheral private area */ #define ppriv_ptr0 periph_priv.entries[0].ptr #define ppriv_ptr1 periph_priv.entries[1].ptr #define ppriv_field0 periph_priv.entries[0].field diff --git a/usr.sbin/cron/cron/cron.c b/usr.sbin/cron/cron/cron.c index 0cdb9e3..21243e7 100644 --- a/usr.sbin/cron/cron/cron.c +++ b/usr.sbin/cron/cron/cron.c @@ -228,7 +228,7 @@ cron_tick(cron_db *db, int secres) register user *u; register entry *e; - /* make 0-based values out of these so we can use them as indicies + /* make 0-based values out of these so we can use them as indices */ second = (secres == 0) ? 0 : tm->tm_sec -FIRST_SECOND; minute = tm->tm_min -FIRST_MINUTE; @@ -289,7 +289,7 @@ cron_tick(cron_db *db, int secres) time_t difftime = TargetTime + tm->tm_gmtoff - diff; gmtime_r(&difftime, &otztm); - /* make 0-based values out of these so we can use them as indicies + /* make 0-based values out of these so we can use them as indices */ otzsecond = (secres == 0) ? 0 : otztm.tm_sec -FIRST_SECOND; otzminute = otztm.tm_min -FIRST_MINUTE; diff --git a/usr.sbin/cron/cron/popen.c b/usr.sbin/cron/cron/popen.c index 57b1f77..01e62bf 100644 --- a/usr.sbin/cron/cron/popen.c +++ b/usr.sbin/cron/cron/popen.c @@ -47,7 +47,7 @@ static const char rcsid[] = #define WANT_GLOBBING 0 /* - * Special version of popen which avoids call to shell. This insures noone + * Special version of popen which avoids call to shell. This insures no one * may create a pipe to a hidden program as a side effect of a list or dir * command. */ diff --git a/usr.sbin/ctladm/ctladm.c b/usr.sbin/ctladm/ctladm.c index 2e5817b..16ce287 100644 --- a/usr.sbin/ctladm/ctladm.c +++ b/usr.sbin/ctladm/ctladm.c @@ -2922,7 +2922,7 @@ cctl_islist_end_element(void *user_data, const char *name) /* Nothing. */ } else { /* - * Unknown element; ignore it for forward compatiblity. + * Unknown element; ignore it for forward compatibility. */ } diff --git a/usr.sbin/gssd/gssd.c b/usr.sbin/gssd/gssd.c index f3e5ce9..7a00192 100644 --- a/usr.sbin/gssd/gssd.c +++ b/usr.sbin/gssd/gssd.c @@ -64,7 +64,7 @@ __FBSDID("$FreeBSD$"); struct gss_resource { LIST_ENTRY(gss_resource) gr_link; - uint64_t gr_id; /* indentifier exported to kernel */ + uint64_t gr_id; /* identifier exported to kernel */ void* gr_res; /* GSS-API resource pointer */ }; LIST_HEAD(gss_resource_list, gss_resource) gss_resources; diff --git a/usr.sbin/jail/jailparse.y b/usr.sbin/jail/jailparse.y index d085eb8..515fc58 100644 --- a/usr.sbin/jail/jailparse.y +++ b/usr.sbin/jail/jailparse.y @@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$"); /* * A config file is a series of jails (containing parameters) and jail-less - * parameters which realy belong to a global pseudo-jail. + * parameters which really belong to a global pseudo-jail. */ conf : ; diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c index ce0ba7c..0f960e8 100644 --- a/usr.sbin/lpr/common_source/common.c +++ b/usr.sbin/lpr/common_source/common.c @@ -640,7 +640,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt, * a host as it receives a datafile. * user=<userid> - user who sent the job (if known) * secs=<n> - seconds it took to transfer the file - * bytes=<n> - number of bytes transfered (ie, "bytecount") + * bytes=<n> - number of bytes transferred (ie, "bytecount") * bps=<n.n>e<n> - Bytes/sec (if the transfer was "big enough" * for this to be useful) * ! top=<str> - type of printer (if the type is defined in diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c index ec8834c..c7ee4e9 100644 --- a/usr.sbin/lpr/lpd/recvjob.c +++ b/usr.sbin/lpr/lpd/recvjob.c @@ -140,7 +140,7 @@ recvjob(const char *printer) /* * Read printer jobs sent by lpd and copy them to the spooling directory. - * Return the number of jobs successfully transfered. + * Return the number of jobs successfully transferred. */ static int readjob(struct printer *pp) @@ -356,7 +356,7 @@ read_number(const char *fn) } /* - * Remove all the files associated with the current job being transfered. + * Remove all the files associated with the current job being transferred. */ static void rcleanup(int signo __unused) diff --git a/usr.sbin/nandsim/nandsim_cfgparse.c b/usr.sbin/nandsim/nandsim_cfgparse.c index a9b5eb1..2cbb89d 100644 --- a/usr.sbin/nandsim/nandsim_cfgparse.c +++ b/usr.sbin/nandsim/nandsim_cfgparse.c @@ -528,7 +528,7 @@ parse_config(char *cfgfname, const char *devfname) error("Controller#%d already created\n", ctrls[i].num); else if (err == EINVAL) - error("Incorrect controler number (%d)\n", + error("Incorrect controller number (%d)\n", ctrls[i].num); else error("Could not created controller#%d\n", diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index 7694811..9976c78 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1223,7 +1223,7 @@ udiff(uint32_t u, uint32_t v) return (u >= v ? u - v : v - u); } -/* return a non-zero value if the received prefix is inconsitent with ours */ +/* return a non-zero value if the received prefix is inconsistent with ours */ static int prefix_check(struct nd_opt_prefix_info *pinfo, struct rainfo *rai, struct sockaddr_in6 *from) |