mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
[MIPS] ARC: Use strchr instead of strstr.
Use strchr instead of strstr when searching for a single character Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
33202349ef
commit
fa09187c34
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user