diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-11-02 21:59:05 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 13:14:56 +0300 |
commit | fa09187c34e0d8c8337268a757cff942192131b1 (patch) | |
tree | 79db56bc37414e1f2ef086018cd79a5368109208 /arch | |
parent | 33202349eff1f90a593924a61291e5466306ab8e (diff) | |
download | linux-fa09187c34e0d8c8337268a757cff942192131b1.tar.xz |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/fw/arc/cmdline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/fw/arc/cmdline.c b/arch/mips/fw/arc/cmdline.c index fd604ef28823..4ca4eef934a5 100644 --- a/arch/mips/fw/arc/cmdline.c +++ b/arch/mips/fw/arc/cmdline.c @@ -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); |