diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-02 04:14:47 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-02 04:37:04 +0100 |
commit | bf8b2ae177fd016d03349b3aa881b72afd7d037d (patch) | |
tree | 49af2ac35cfe782a80dc953ad9f815e73339b655 /udev/lib/libudev-monitor.c | |
parent | 01acecef8f763907e5535b074e32ce836b236fca (diff) |
libudev: device - add devtype support
Diffstat (limited to 'udev/lib/libudev-monitor.c')
-rw-r--r-- | udev/lib/libudev-monitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c index 502fe24ce1..e4cb80769c 100644 --- a/udev/lib/libudev-monitor.c +++ b/udev/lib/libudev-monitor.c @@ -325,6 +325,8 @@ struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monito } else if (strncmp(key, "SUBSYSTEM=", 10) == 0) { udev_device_set_subsystem(udev_device, &key[10]); subsystem_set = 1; + } else if (strncmp(key, "DEVTYPE=", 8) == 0) { + udev_device_set_devtype(udev_device, &key[8]); } else if (strncmp(key, "DEVNAME=", 8) == 0) { udev_device_set_devnode(udev_device, &key[8]); } else if (strncmp(key, "DEVLINKS=", 9) == 0) { |