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>
1 parent 158279d commit 18f0d2221a4c781dad2a224f8ac17e7c95fd1d9c
@Andrey Smirnov Andrey Smirnov authored on 27 Apr 2016
Sascha Hauer committed on 28 Apr 2016
Showing 1 changed file
View
commands/mmc_extcsd.c