]> git.proxmox.com Git - mirror_zfs.git/blobdiff - cmd/zed/zed_disk_event.c
Add libzutil for libzfs or libzpool consumers
[mirror_zfs.git] / cmd / zed / zed_disk_event.c
index 32eefb2f386c4d2d4a811d99280623020212fde2..174d24523253b7a32c60b57353aebdd4e35efc32 100644 (file)
@@ -21,6 +21,7 @@
 #include <libnvpair.h>
 #include <libudev.h>
 #include <libzfs.h>
+#include <libzutil.h>
 #include <pthread.h>
 #include <stdlib.h>
 #include <string.h>
@@ -37,7 +38,7 @@
  * A libudev monitor is established to monitor block device actions and pass
  * them on to internal ZED logic modules.  Initially, zfs_mod.c is the only
  * consumer and is the Linux equivalent for the illumos syseventd ZFS SLM
- * module responsible for handeling disk events for ZFS.
+ * module responsible for handling disk events for ZFS.
  */
 
 pthread_t g_mon_tid;
@@ -161,7 +162,7 @@ zed_udev_monitor(void *arg)
        struct udev_monitor *mon = arg;
        char *tmp, *tmp2;
 
-       zed_log_msg(LOG_INFO, "Waiting for new uduev disk events...");
+       zed_log_msg(LOG_INFO, "Waiting for new udev disk events...");
 
        while (1) {
                struct udev_device *dev;