summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-23 20:28:16 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-23 20:30:52 +0200
commitd5b5a611aeb6c78a9290ea31ad62dc039401fb44 (patch)
tree2530839dedea4dc5fcfd29a9fd232df827696ab3
parent58230a77d34163a3ee6c261def756448d7d969a1 (diff)
format names are not case insensitive
-rw-r--r--udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 2f32805f30..a407975f08 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -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);