diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-04-27 07:38:41 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-28 16:36:28 +0200 |
commit | 18f0d2221a4c781dad2a224f8ac17e7c95fd1d9c (patch) | |
tree | 9b52982878dd0b0b77bc01b91c8cbfc142d3ed71 /common/env.c | |
parent | 158279def1295e553683a1523a61858acffb18b4 (diff) | |
download | barebox-18f0d2221a4c781dad2a224f8ac17e7c95fd1d9c.tar.gz barebox-18f0d2221a4c781dad2a224f8ac17e7c95fd1d9c.tar.xz |
commands: mmc_extcsd: Fix incorrect usage of sprintf
In a number of places print_field_ge_v7() and print_field() function
would call sprintf() without providing is with appropriate output
buffer (str is initialized to NULL). Replace the sprintf() with
basprintf() to fix that.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/env.c')
0 files changed, 0 insertions, 0 deletions