chiark / gitweb /
libudev: add udev_monitor_send_device()
[elogind.git] / udev / lib / libudev-device.c
index 62f35188396e218da9c95d4a24c14d8d15bf653c..c27290835af255a5ccec73f2ee4ca2cf5ab6059e 100644 (file)
@@ -913,6 +913,7 @@ int udev_device_add_property_from_string(struct udev_device *udev_device, const
 
 int udev_device_set_action(struct udev_device *udev_device, const char *action)
 {
 
 int udev_device_set_action(struct udev_device *udev_device, const char *action)
 {
+       udev_device_add_property(udev_device, "ACTION", action);
        udev_device->action = strdup(action);
        if (udev_device->action == NULL)
                return -ENOMEM;
        udev_device->action = strdup(action);
        if (udev_device->action == NULL)
                return -ENOMEM;