Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);