diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index b7c0699f3f..72928e6c03 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -1605,7 +1605,7 @@ static int match_key(UdevRules *rules, struct token *token, const char *val) { switch (token->key.glob) { case GL_PLAIN: - match = (streq(key_value, val)); + match = streq(key_value, val); break; case GL_GLOB: match = (fnmatch(key_value, val, 0) == 0); @@ -1628,7 +1628,7 @@ static int match_key(UdevRules *rules, struct token *token, const char *val) { if (match) break; } else { - match = (streq(s, val)); + match = streq(s, val); break; } s = &next[1];