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 /usr.sbin/nandsim | |
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 'usr.sbin/nandsim')
-rw-r--r-- | usr.sbin/nandsim/nandsim.8 | 2 | ||||
-rw-r--r-- | usr.sbin/nandsim/nandsim.c | 2 | ||||
-rw-r--r-- | usr.sbin/nandsim/nandsim_cfgparse.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/nandsim/nandsim.8 b/usr.sbin/nandsim/nandsim.8 index d89767b..0951cc7 100644 --- a/usr.sbin/nandsim/nandsim.8 +++ b/usr.sbin/nandsim/nandsim.8 @@ -177,7 +177,7 @@ list all blocks marked as bad on a given chip. .El .It Ic log Prints activity log of the specified controller to stdout; if -controller number is not specifed, logs for all available +controller number is not specified, logs for all available controllers are printed. .It Ic stats Print statistics of the selected controller, chip and page. diff --git a/usr.sbin/nandsim/nandsim.c b/usr.sbin/nandsim/nandsim.c index 082085f..bd3d080 100644 --- a/usr.sbin/nandsim/nandsim.c +++ b/usr.sbin/nandsim/nandsim.c @@ -421,7 +421,7 @@ cmdmod(int gargc __unused, char **gargv) if (gargc >= 4) { if (strcmp(gargv[2], "--loglevel") == 0 || strcmp(gargv[2], "-l") == 0) { - /* Set loglevel (ctrl:chip pair independant) */ + /* Set loglevel (ctrl:chip pair independent) */ mods.field = SIM_MOD_LOG_LEVEL; if (convert_arguint(gargv[3], &mods.new_value) != 0) diff --git a/usr.sbin/nandsim/nandsim_cfgparse.c b/usr.sbin/nandsim/nandsim_cfgparse.c index a965034..a9b5eb1 100644 --- a/usr.sbin/nandsim/nandsim_cfgparse.c +++ b/usr.sbin/nandsim/nandsim_cfgparse.c @@ -349,7 +349,7 @@ create_ctrls(struct rcfile *f, struct sim_ctrl **ctrls, int *cnt) /* * ECC layout have to end up with 0xffff, so * we're filling buffer with 0xff. If ecc_layout is - * defined in config file, values will be overriden. + * defined in config file, values will be overridden. */ memset((void *)&ctrl_conf.ecc_layout, 0xff, sizeof(ctrl_conf.ecc_layout)); @@ -411,7 +411,7 @@ create_chips(struct rcfile *f, struct sim_chip **chips, int *cnt) /* * Bad block map have to end up with 0xffff, so * we're filling array with 0xff. If bad block map is - * defined in config file, values will be overriden. + * defined in config file, values will be overridden. */ memset((void *)&chip_conf.bad_block_map, 0xff, sizeof(chip_conf.bad_block_map)); |