提交 fa09187c 编写于 作者: R Roel Kluin 提交者: Ralf Baechle

[MIPS] ARC: Use strchr instead of strstr.

Use strchr instead of strstr when searching for a single character
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 33202349
......@@ -52,7 +52,7 @@ static char * __init move_firmware_args(char* cp)
strcat(cp, used_arc[i][1]);
cp += strlen(used_arc[i][1]);
/* ... and now the argument */
s = strstr(prom_argv(actr), "=");
s = strchr(prom_argv(actr), '=');
if (s) {
s++;
strcpy(cp, s);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册