Signed-off-by: Bernhard Nortmann <bernhard.nortm...@web.de> --- fel.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/fel.c b/fel.c index 0a36607..495aa81 100644 --- a/fel.c +++ b/fel.c @@ -322,16 +322,14 @@ void hexdump(void *data, uint32_t offset, size_t size) else printf("__ "); } - printf(" "); + putchar(' '); for (i = 0; i < 16; i++) { if (j+i >= size) - printf("."); - else if (isprint(buf[j+i])) - printf("%c", buf[j+i]); + putchar('.'); else - printf("."); + putchar(isprint(buf[j+i]) ? buf[j+i] : '.'); } - printf("\n"); + putchar('\n'); } } -- 2.4.10 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.