projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3320234
)
[MIPS] ARC: Use strchr instead of strstr.
author
Roel Kluin
<12o3l@tiscali.nl>
Fri, 2 Nov 2007 18:59:05 +0000
(19:59 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 29 Jan 2008 10:14:56 +0000
(10:14 +0000)
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>
arch/mips/fw/arc/cmdline.c
patch
|
blob
|
history
diff --git
a/arch/mips/fw/arc/cmdline.c
b/arch/mips/fw/arc/cmdline.c
index fd604ef28823ccf9113670c7377f53fc0c8a1a22..4ca4eef934a539aa579458c37c95e4826356ab44 100644
(file)
--- 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 = str
str(prom_argv(actr), "="
);
+ s = str
chr(prom_argv(actr), '='
);
if (s) {
s++;
strcpy(cp, s);