]> err.no Git - systemd/commitdiff
format names are not case insensitive
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 23 Jul 2009 18:28:16 +0000 (20:28 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 23 Jul 2009 18:30:52 +0000 (20:30 +0200)
udev/udev-event.c

index 2f32805f30d9b57885a12e847d778248adf72fa4..a407975f08b7bb21aa5e8a20be861c9a72bd36ad 100644 (file)
@@ -126,7 +126,7 @@ size_t udev_event_apply_format(struct udev_event *event, const char *src, char *
                                }
 
                                for (i = 0; i < ARRAY_SIZE(map); i++) {
-                                       if (strncasecmp(&from[1], map[i].name, strlen(map[i].name)) == 0) {
+                                       if (strncmp(&from[1], map[i].name, strlen(map[i].name)) == 0) {
                                                type = map[i].type;
                                                from += strlen(map[i].name)+1;
                                                dbg(event->udev, "will substitute format name '%s'\n", map[i].name);