summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/lib/libudev-device.c')
-rw-r--r--udev/lib/libudev-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index 62f3518839..c27290835a 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -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)
{
+ udev_device_add_property(udev_device, "ACTION", action);
udev_device->action = strdup(action);
if (udev_device->action == NULL)
return -ENOMEM;