aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed
diff options
context:
space:
mode:
authorka7 <[email protected]>2017-01-03 18:31:18 +0100
committerBrian Behlendorf <[email protected]>2017-01-03 11:31:18 -0600
commit4e33ba4c389f59b74138bf7130e924a4230d64e9 (patch)
tree6707105987e45e846d0b0a5f0ad6e3e30191e77f /cmd/zed
parenta5e046eaacad20487188c9eef231554e1401d8c9 (diff)
Fix spelling
Reviewed-by: Brian Behlendorf <[email protected] Reviewed-by: Giuseppe Di Natale <[email protected]>> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Haakan T Johansson <[email protected]> Closes #5547 Closes #5543
Diffstat (limited to 'cmd/zed')
-rw-r--r--cmd/zed/agents/zfs_agents.c2
-rw-r--r--cmd/zed/agents/zfs_mod.c2
-rw-r--r--cmd/zed/zed_disk_event.c2
-rw-r--r--cmd/zed/zed_exec.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/cmd/zed/agents/zfs_agents.c b/cmd/zed/agents/zfs_agents.c
index 8779d5945..a40d59497 100644
--- a/cmd/zed/agents/zfs_agents.c
+++ b/cmd/zed/agents/zfs_agents.c
@@ -217,7 +217,7 @@ zfs_agent_dispatch(const char *class, const char *subclass, nvlist_t *nvl)
* On illumos these subscriptions reside in:
* /usr/lib/fm/fmd/plugins/zfs-retire.conf
*
- * NOTE: faults events come directy from our diagnosis engine
+ * NOTE: faults events come directly from our diagnosis engine
* and will not pass through the zfs kernel module.
*/
if (strcmp(class, FM_LIST_SUSPECT_CLASS) == 0 ||
diff --git a/cmd/zed/agents/zfs_mod.c b/cmd/zed/agents/zfs_mod.c
index 8733de596..d297ab294 100644
--- a/cmd/zed/agents/zfs_mod.c
+++ b/cmd/zed/agents/zfs_mod.c
@@ -477,7 +477,7 @@ zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data)
} else if (dp->dd_compare != NULL) {
/*
* NOTE: On Linux there is an event for partition, so unlike
- * illumos, substring matching is not required to accomodate
+ * illumos, substring matching is not required to accommodate
* the partition suffix. An exact match will be present in
* the dp->dd_compare value.
*/
diff --git a/cmd/zed/zed_disk_event.c b/cmd/zed/zed_disk_event.c
index 76b8e91c8..ae39bd6a9 100644
--- a/cmd/zed/zed_disk_event.c
+++ b/cmd/zed/zed_disk_event.c
@@ -185,7 +185,7 @@ zed_udev_monitor(void *arg)
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
/*
- * Strongly typed device is the prefered filter
+ * Strongly typed device is the preferred filter
*/
type = udev_device_get_property_value(dev, "ID_FS_TYPE");
if (type != NULL && type[0] != '\0') {
diff --git a/cmd/zed/zed_exec.c b/cmd/zed/zed_exec.c
index 075943f99..037037168 100644
--- a/cmd/zed/zed_exec.c
+++ b/cmd/zed/zed_exec.c
@@ -71,7 +71,7 @@ _zed_exec_create_env(zed_strings_t *zsp)
/*
* Fork a child process to handle event [eid]. The program [prog]
- * in directory [dir] is executed with the envionment [env].
+ * in directory [dir] is executed with the environment [env].
*
* The file descriptor [zfd] is the zevent_fd used to track the
* current cursor location within the zevent nvlist.