From 03b41638779fc9e76ca37d3637194ae470a526be Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 15 Jun 2014 14:06:46 -0600 Subject: hex2dump: Needs to read new character at end of the loop --- apps/include/hex2bin.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/include') diff --git a/apps/include/hex2bin.h b/apps/include/hex2bin.h index 13fcfc8f4..aafcd10b6 100644 --- a/apps/include/hex2bin.h +++ b/apps/include/hex2bin.h @@ -43,7 +43,6 @@ #include #include -#include #ifdef CONFIG_SYSTEM_HEX2BIN @@ -96,8 +95,7 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_SYSTEM_HEX2BIN_DEBUG -# define hex2bin_debug(format, ...) \ - fprintf(stderr, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) +# define hex2bin_debug(format, ...) fprintf(stderr, format, ##__VA_ARGS__) # else # define lldbg(x...) # endif -- cgit v1.2.3