Commits

braindamaged committed d47cd23

udevd: fix compilation errors

  • Participants
  • Parent commits d5c1a7a

Comments (0)

Files changed (1)

         event->devpath_len = strlen(event->devpath);
         event->devpath_old = udev_device_get_devpath_old(dev);
         event->devnum = udev_device_get_devnum(dev);
-        event->is_block = streq("block", udev_device_get_subsystem(dev));
+        event->is_block = !strcmp("block", udev_device_get_subsystem(dev));
         event->ifindex = udev_device_get_ifindex(dev);
-        if (streq(udev_device_get_subsystem(dev), "firmware"))
+        if (!strcmp(udev_device_get_subsystem(dev), "firmware"))
                 event->nodelay = true;
 
         udev_queue_export_device_queued(udev_queue_export, dev);