diff options
author | Pierre Aubert <p.aubert@staubli.com> | 2013-10-08 14:20:27 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 15:25:14 -0500 |
commit | 9a8323311ca500579b86905fcf539f17c193ce25 (patch) | |
tree | 1dd161d5401fb5cf2a5c7c89ea683a34486828ae /lib/hashtable.c | |
parent | 2a19de42eca547ceff341cce3810f3a9d795ef96 (diff) | |
download | u-boot-imx-9a8323311ca500579b86905fcf539f17c193ce25.zip u-boot-imx-9a8323311ca500579b86905fcf539f17c193ce25.tar.gz u-boot-imx-9a8323311ca500579b86905fcf539f17c193ce25.tar.bz2 |
env: fix the env export varname
The env export command doesn't export the first variable of the list
since commit 5a31ea04c9ee5544fbb70ad7597ea4b294840eab
"env grep" - reimplement command using hexport_r()
Signed-off-by: Pierre Aubert <p.aubert@staubli.com>
Diffstat (limited to 'lib/hashtable.c')
-rw-r--r-- | lib/hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashtable.c b/lib/hashtable.c index c5a2b08..4356b23 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -564,7 +564,7 @@ static int match_entry(ENTRY *ep, int flag, int arg; void *priv = NULL; - for (arg = 1; arg < argc; ++arg) { + for (arg = 0; arg < argc; ++arg) { #ifdef CONFIG_REGEX struct slre slre; |