aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pmcs-msp71xx/msp_prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pmcs-msp71xx/msp_prom.c')
-rw-r--r--arch/mips/pmcs-msp71xx/msp_prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pmcs-msp71xx/msp_prom.c b/arch/mips/pmcs-msp71xx/msp_prom.c
index 1c9897531660..ef620a4c82a5 100644
--- a/arch/mips/pmcs-msp71xx/msp_prom.c
+++ b/arch/mips/pmcs-msp71xx/msp_prom.c
@@ -295,7 +295,7 @@ char *prom_getenv(char *env_name)
295 295
296 while (*var) { 296 while (*var) {
297 if (strncmp(env_name, *var, i) == 0) { 297 if (strncmp(env_name, *var, i) == 0) {
298 return (*var + strlen(env_name) + 1); 298 return *var + strlen(env_name) + 1;
299 } 299 }
300 var++; 300 var++;
301 } 301 }