diff options
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index b3a754f..36cf420 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c @@ -92,7 +92,7 @@ static int lp = 0; #define COLOR_WHITE "\e[1;37m" #define COLOR_DARK_WHITE "\e[0;37m" -#define TEXT_COLOR(x) if (use_colors) { fwrite(x, 1, sizeof(x), stdout); } +#define TEXT_COLOR(x) if (use_colors) { fwrite(x, 1, sizeof(x)-1, stdout); } static void add_filter(const char* filterstr) { |