From 21a3003f8f5c49c0acbcb49462e5b221076076d0 Mon Sep 17 00:00:00 2001 From: eadler Date: Wed, 21 Oct 2015 05:37:09 +0000 Subject: 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 --- sbin/devd/devd.cc | 2 +- sbin/fsck_ffs/fsck.h | 2 +- sbin/fsck_ffs/globs.c | 2 +- sbin/ipfw/tables.c | 10 +++++----- sbin/natd/natd.c | 2 +- sbin/newfs_nandfs/newfs_nandfs.c | 2 +- sbin/rcorder/rcorder.c | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'sbin') 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 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) -- cgit v1.1