aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-09-27 08:39:15 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-09-27 08:39:15 +0200
commit24ca7eea91921511633c41cf41e16b846c4511fe (patch)
tree913c69252e924d4a0d70e03c040f9f4702136acd
parent6082cf6375157bd8886fd1fed425b81b29acfdd2 (diff)
downloadudev-block-notify-24ca7eea91921511633c41cf41e16b846c4511fe.tar.gz
udev-block-notify-24ca7eea91921511633c41cf41e16b846c4511fe.tar.zst
fix name for environment variable ID_CDROM
-rw-r--r--udev-block-notify.c2
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;