summaryrefslogtreecommitdiffstats
path: root/common/complete.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-07-02 11:02:59 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-02 11:02:59 +0200
commitc77dd2a81b178e4530aaad6413697d9cb5ea870e (patch)
tree6c71d2292b90973f9850ccaca8e8b3c8a1d7e1dd /common/complete.c
parent008d2ba8bf369bc318b8bbaee614bcbeb223bc8c (diff)
parent13b70bb921e0d3ce8986e382ad76af2e7f877fde (diff)
downloadbarebox-c77dd2a81b178e4530aaad6413697d9cb5ea870e.tar.gz
Merge branch 'for-next/menu'
Diffstat (limited to 'common/complete.c')
-rw-r--r--common/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/complete.c b/common/complete.c
index 4370b20..a8bde8d 100644
--- a/common/complete.c
+++ b/common/complete.c
@@ -221,7 +221,7 @@ static int env_param_complete(struct string_list *sl, char *instr, int eval)
end = ' ';
}
- instr_param = strrchr(instr, '.');
+ instr_param = strchr(instr, '.');
len = strlen(instr);
current_c = get_current_context();