usr.sbin: minor spelling fixes on comments.

No functional change.
This commit is contained in:
Pedro F. Giffuni 2016-05-01 16:41:25 +00:00
parent d7b1cc0a3c
commit b5635ba0a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298886
10 changed files with 12 additions and 12 deletions

View file

@ -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

View file

@ -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;

View file

@ -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.
*/

View file

@ -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.
*/
}

View file

@ -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;

View file

@ -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 :
;

View file

@ -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

View file

@ -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)

View file

@ -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",

View file

@ -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)