chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix SYMLINK{} option parsing
[elogind.git]
/
udev
/
udev-rules.c
diff --git
a/udev/udev-rules.c
b/udev/udev-rules.c
index 904ddac72c3867d62076bd1f0d6c1a168414e5e7..ddb51de8e1dc6f243dbe4dc5530adb83265499d3 100644
(file)
--- a/
udev/udev-rules.c
+++ b/
udev/udev-rules.c
@@
-1435,7
+1435,7
@@
static int add_rule(struct udev_rules *rules, char *line,
continue;
}
- if (str
cmp(key, "SYMLINK"
) == 0) {
+ if (str
ncmp(key, "SYMLINK", sizeof("SYMLINK")-1
) == 0) {
if (op < OP_MATCH_MAX) {
rule_add_key(&rule_tmp, TK_M_DEVLINK, op, value, NULL);
} else {