summaryrefslogtreecommitdiff
path: root/api/api_net.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-03-28 12:03:33 -0400
committerTom Rini <trini@ti.com>2014-04-17 14:39:54 -0400
commit229695fee97abc7f4adad92eb8e036792c144bc6 (patch)
tree657e523c702de883411eb65770f80be68e846ba8 /api/api_net.c
parent548a64d84561b109d45348afb4c854fd671eeedd (diff)
downloadu-boot-imx-229695fee97abc7f4adad92eb8e036792c144bc6.zip
u-boot-imx-229695fee97abc7f4adad92eb8e036792c144bc6.tar.gz
u-boot-imx-229695fee97abc7f4adad92eb8e036792c144bc6.tar.bz2
fw_env.c: Switch get_config to use '%ms' in sscanf
We currently limit ourself to 16 characters for the device name to read the environment from. This is insufficient for /dev/mmcblk0boot1 to work for example. Switch to '%ms' which gives us a dynamically allocated buffer instead. We're short lived enough to not bother free()ing the buffer. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'api/api_net.c')
0 files changed, 0 insertions, 0 deletions