Fix minor spelling mistakes

Trivial spelling mistake fix in error message text.

* Fix spelling mistake "adminstrator" -> "administrator"
* Fix spelling mistake "specificed" -> "specified"
* Fix spelling mistake "interperted" -> "interpreted"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4728
This commit is contained in:
Colin Ian King 2016-06-06 22:45:26 +01:00 committed by Brian Behlendorf
parent f866a4ea1f
commit 2627e75245
3 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ usage(void)
"\tzinject -c <id|all>\n" "\tzinject -c <id|all>\n"
"\n" "\n"
"\t\tClear the particular record (if given a numeric ID), or\n" "\t\tClear the particular record (if given a numeric ID), or\n"
"\t\tall records if 'all' is specificed.\n" "\t\tall records if 'all' is specified.\n"
"\n" "\n"
"\tzinject -p <function name> pool\n" "\tzinject -p <function name> pool\n"
"\t\tInject a panic fault at the specified function. Only \n" "\t\tInject a panic fault at the specified function. Only \n"
@ -289,7 +289,7 @@ usage(void)
"\n" "\n"
"\t\tInject an error into the object specified by the '-t' option\n" "\t\tInject an error into the object specified by the '-t' option\n"
"\t\tand the object descriptor. The 'object' parameter is\n" "\t\tand the object descriptor. The 'object' parameter is\n"
"\t\tinterperted depending on the '-t' option.\n" "\t\tinterpreted depending on the '-t' option.\n"
"\n" "\n"
"\t\t-q\tQuiet mode. Only print out the handler number added.\n" "\t\t-q\tQuiet mode. Only print out the handler number added.\n"
"\t\t-e\tInject a specific error. Must be either 'io' or\n" "\t\t-e\tInject a specific error. Must be either 'io' or\n"

View File

@ -343,7 +343,7 @@ args_init(int argc, char **argv)
check_mutual_exclusive_command_lines(fl_cs, "chunksize"); check_mutual_exclusive_command_lines(fl_cs, "chunksize");
if (args->pool == NULL) { if (args->pool == NULL) {
fprintf(stderr, "Error: Pool not specificed\n"); fprintf(stderr, "Error: Pool not specified\n");
usage(); usage();
args_fini(args); args_fini(args);
return (NULL); return (NULL);

View File

@ -5860,7 +5860,7 @@ status_callback(zpool_handle_t *zhp, void *data)
case ZPOOL_STATUS_BAD_LOG: case ZPOOL_STATUS_BAD_LOG:
(void) printf(gettext("status: An intent log record " (void) printf(gettext("status: An intent log record "
"could not be read.\n" "could not be read.\n"
"\tWaiting for adminstrator intervention to fix the " "\tWaiting for administrator intervention to fix the "
"faulted pool.\n")); "faulted pool.\n"));
(void) printf(gettext("action: Either restore the affected " (void) printf(gettext("action: Either restore the affected "
"device(s) and run 'zpool online',\n" "device(s) and run 'zpool online',\n"