diff options
author | eadler <eadler@FreeBSD.org> | 2015-10-21 05:37:09 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2015-10-21 05:37:09 +0000 |
commit | 21a3003f8f5c49c0acbcb49462e5b221076076d0 (patch) | |
tree | 1149682a8773189b3c623000a582961e7e382c47 /sbin | |
parent | 1cbd99f727ea8d812f6573b02f6255424be40284 (diff) | |
download | FreeBSD-src-21a3003f8f5c49c0acbcb49462e5b221076076d0.zip FreeBSD-src-21a3003f8f5c49c0acbcb49462e5b221076076d0.tar.gz |
Fix a ton of speelling errors
arc lint is helpful
Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com
Differential Revision: https://reviews.freebsd.org/D3337
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/devd/devd.cc | 2 | ||||
-rw-r--r-- | sbin/fsck_ffs/fsck.h | 2 | ||||
-rw-r--r-- | sbin/fsck_ffs/globs.c | 2 | ||||
-rw-r--r-- | sbin/ipfw/tables.c | 10 | ||||
-rw-r--r-- | sbin/natd/natd.c | 2 | ||||
-rw-r--r-- | sbin/newfs_nandfs/newfs_nandfs.c | 2 | ||||
-rw-r--r-- | sbin/rcorder/rcorder.c | 4 |
7 files changed, 12 insertions, 12 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index c770204..5580f6c 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -850,7 +850,7 @@ create_socket(const char *name, int socktype) return (fd); } -unsigned int max_clients = 10; /* Default, can be overriden on cmdline. */ +unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */ unsigned int num_clients; list<client_t> clients; diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h index c0ec651..57e0773 100644 --- a/sbin/fsck_ffs/fsck.h +++ b/sbin/fsck_ffs/fsck.h @@ -301,7 +301,7 @@ extern char snapname[BUFSIZ]; /* when doing snapshots, the name of the file */ extern char *cdevname; /* name of device being checked */ extern long dev_bsize; /* computed value of DEV_BSIZE */ extern long secsize; /* actual disk sector size */ -extern u_int real_dev_bsize; /* actual disk sector size, not overriden */ +extern u_int real_dev_bsize; /* actual disk sector size, not overridden */ extern char nflag; /* assume a no response */ extern char yflag; /* assume a yes response */ extern int bkgrdflag; /* use a snapshot to run on an active system */ diff --git a/sbin/fsck_ffs/globs.c b/sbin/fsck_ffs/globs.c index c5b1e1b..e910bc9 100644 --- a/sbin/fsck_ffs/globs.c +++ b/sbin/fsck_ffs/globs.c @@ -73,7 +73,7 @@ char snapname[BUFSIZ]; /* when doing snapshots, the name of the file */ char *cdevname; /* name of device being checked */ long dev_bsize; /* computed value of DEV_BSIZE */ long secsize; /* actual disk sector size */ -u_int real_dev_bsize; /* actual disk sector size, not overriden */ +u_int real_dev_bsize; /* actual disk sector size, not overridden */ char nflag; /* assume a no response */ char yflag; /* assume a yes response */ int bkgrdflag; /* use a snapshot to run on an active system */ diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c index 506d771..7eff340 100644 --- a/sbin/ipfw/tables.c +++ b/sbin/ipfw/tables.c @@ -450,7 +450,7 @@ table_create(ipfw_obj_header *oh, int ac, char *av[]) } } - /* Set some defaults to preserve compability */ + /* Set some defaults to preserve compatibility. */ if (xi.algoname[0] == '\0' && xi.type == 0) xi.type = IPFW_TABLE_ADDR; if (xi.vmask == 0) @@ -918,7 +918,7 @@ table_modify_record(ipfw_obj_header *oh, int ac, char *av[], int add, tentry_fill_key(oh, ptent, *av, add, &type, &vmask, &xi); /* - * compability layer: auto-create table if not exists + * Compatibility layer: auto-create table if not exists. */ if (xi.tablename[0] == '\0') { xi.type = type; @@ -1387,8 +1387,8 @@ tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent, char *key, vmask = xi->vmask; } else { /* - * we're running `ipfw -n` - * Compability layer: try to guess key type + * We're running `ipfw -n` + * Compatibility layer: try to guess key type * before failing. */ if (guess_key_type(key, &type) != 0) { @@ -1407,7 +1407,7 @@ tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent, char *key, oh->ntlv.name); /* * Table does not exist - * Compability layer: try to guess key type before failing. + * Compatibility layer: try to guess key type before failing. */ if (guess_key_type(key, &type) != 0) { /* Inknown key */ diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index 4d9061d..894e824 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -223,7 +223,7 @@ int main (int argc, char** argv) /* * Create divert sockets. Use only one socket if -p was specified * on command line. Otherwise, create separate sockets for - * outgoing and incoming connnections. + * outgoing and incoming connections. */ if (mip->inOutPort) { diff --git a/sbin/newfs_nandfs/newfs_nandfs.c b/sbin/newfs_nandfs/newfs_nandfs.c index 3990dbb..9500805 100644 --- a/sbin/newfs_nandfs/newfs_nandfs.c +++ b/sbin/newfs_nandfs/newfs_nandfs.c @@ -1088,7 +1088,7 @@ static void print_summary(void) { - printf("filesystem created succesfully\n"); + printf("filesystem was created successfully\n"); printf("total segments: %#jx valid segments: %#jx\n", nsegments, nsegments - bad_segments_count); printf("total space: %ju MB free: %ju MB\n", diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c index 8c46b4f..1d10a40 100644 --- a/sbin/rcorder/rcorder.c +++ b/sbin/rcorder/rcorder.c @@ -220,7 +220,7 @@ strnode_add(strnodelist **listp, char *s, filenode *fnode) /* * below are the functions that deal with creating the lists - * from the filename's given and the dependancies and provisions + * from the filename's given dependencies and provisions * in each of these files. no ordering or checking is done here. */ @@ -696,7 +696,7 @@ keep_ok(filenode *fnode) * * NOTE: do_file() is called recursively from several places and cannot * safely free() anything related to items that may be recursed on. - * Circular dependancies will cause problems if we do. + * Circular dependencies will cause problems if we do. */ static void do_file(filenode *fnode) |