diff options
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r-- | udev-block-notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |