commit | e89ead37a6e3c926a3520cd6e871523e0dd64e86 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Fri Apr 29 22:00:11 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 02 18:37:10 2016 -0400 |
tree | fa88c53b922ccfef7c5da2d0d32e6b0bc5157578 | |
parent | ca8db722a0b5bc9cbca2ba4be144a9ee20ebc0a5 [diff] |
tools: env: fix config file loading in env library env library is broken as the config file pointer is only initialized in main(). When running in the env library parse_config() fails: Cannot parse config file '(null)': Bad address Ensure that config file pointer is always initialized. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de>