summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-monitor.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-15 11:19:56 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-15 11:19:56 -0700
commit0518da3b74a388680896747696b3644bbd3d98e5 (patch)
treee0e430bb2e3546ceb2edccc9930276ece1668028 /udev/lib/libudev-monitor.c
parent93b0f384589fce818edb9678571a30e71930d14c (diff)
libudev: handle "device" link as parent, handle "class" "block" as "subsystem"
Diffstat (limited to 'udev/lib/libudev-monitor.c')
-rw-r--r--udev/lib/libudev-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c
index 60f7bc29e5..8e9cf2d0eb 100644
--- a/udev/lib/libudev-monitor.c
+++ b/udev/lib/libudev-monitor.c
@@ -336,7 +336,7 @@ struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monito
} else if (strncmp(key, "TIMEOUT=", 8) == 0) {
device_set_timeout(udev_device, strtoull(&key[8], NULL, 10));
}
- device_add_property(udev_device, key);
+ device_add_property_from_string(udev_device, key);
}
device_set_devnum(udev_device, makedev(maj, min));