diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-01-07 00:40:51 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-01-07 00:40:51 +0000 |
commit | dc83b58bbee523b7400472f573a44887cbd0642a (patch) | |
tree | eb667008656693411615bab6f9f0c665ccab9726 /usr.sbin/nandsim | |
parent | ad386aeec35ec2185d270b03008f3fb87a977e77 (diff) | |
download | FreeBSD-src-dc83b58bbee523b7400472f573a44887cbd0642a.zip FreeBSD-src-dc83b58bbee523b7400472f573a44887cbd0642a.tar.gz |
MFC r289677:
Fix a ton of speelling errors
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 5b318a2..30a3151 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)); |