proc-cmdline: use proc_cmdline_key_string() when we search for key

This commit is contained in:
Yu Watanabe
2023-03-24 15:20:05 +09:00
parent b3e9a267ce
commit 1479799c4d
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ static int cmdline_get_key(const char *line, const char *key, ProcCmdlineFlags f
found = true;
} else {
if (streq(word, key)) {
if (proc_cmdline_key_streq(word, key)) {
found = true;
break; /* we found what we were looking for */
}