From 24ca7eea91921511633c41cf41e16b846c4511fe Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 27 Sep 2013 08:39:15 +0200 Subject: fix name for environment variable ID_CDROM --- udev-block-notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev-block-notify.c b/udev-block-notify.c index 9a4ad6f..3d66fe8 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -213,7 +213,7 @@ int main (int argc, char ** argv) { /* decide about what icon to use */ value = udev_device_get_property_value(dev, "ID_BUS"); - if (udev_device_get_property_value(dev, "ID_DRIVE_CDROM") != NULL) { + if (udev_device_get_property_value(dev, "ID_CDROM") != NULL) { icon = ICON_DRIVE_OPTICAL; } else if (udev_device_get_property_value(dev, "ID_DRIVE_FLOPPY") != NULL) { icon = ICON_MEDIA_FLOPPY; -- cgit v1.2.3-70-g09d2