commit | 313e9126b01fe747e6da14d588e170afdf78582e | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Fri Mar 28 12:03:33 2014 -0400 |
committer | Tom Rini <trini@ti.com> | Thu Apr 17 14:39:54 2014 -0400 |
tree | 657e523c702de883411eb65770f80be68e846ba8 | |
parent | 739b98f13a37eaf0a52793af7293c7ce34623b59 [diff] |
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>