]> Git Repo - J-u-boot.git/commit
tools: env: fix config file loading in env library
authorAnatolij Gustschin <[email protected]>
Fri, 29 Apr 2016 20:00:11 +0000 (22:00 +0200)
committerTom Rini <[email protected]>
Mon, 2 May 2016 22:37:10 +0000 (18:37 -0400)
commit925c97c248527391de32c2926f7e1911850fd4b0
treefa88c53b922ccfef7c5da2d0d32e6b0bc5157578
parentf9f9d2d625056b674145b6773fe2d91852e4a7fa
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 <[email protected]>
Cc: Stefano Babic <[email protected]>
tools/env/fw_env.c
This page took 0.034105 seconds and 4 git commands to generate.