memory_display: Print whole line at once
Instead of using many printf assemble a printed line first and
print it at once. This has the purpose of being able to pick
different output functions in the next step.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d6c62b7 commit e2e9582916f44319a861afe6338da518aa66fd36
@Sascha Hauer Sascha Hauer authored on 30 Nov 2018
Showing 1 changed file
View
common/memory_display.c