Commit fa09187c authored by Roel Kluin's avatar Roel Kluin Committed by Ralf Baechle

[MIPS] ARC: Use strchr instead of strstr.

Use strchr instead of strstr when searching for a single character
Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment