From f7606f9b75b1b4b2324635426f3cc52feda1e3aa Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sat, 15 Jan 2011 15:21:54 +0100 Subject: [PATCH] fix hex output --- output/output_text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/output/output_text.c b/output/output_text.c index 42fd1cac..2b362474 100644 --- a/output/output_text.c +++ b/output/output_text.c @@ -25,7 +25,7 @@ #include "config.h" #define DEFAULT_BPL_BITS 64 -#define DEFAULT_BPL_HEX 256 +#define DEFAULT_BPL_HEX 192 struct context { unsigned int num_enabled_probes; @@ -247,7 +247,7 @@ static int data_bits(struct output *o, char *data_in, uint64_t length_in, static int init_hex(struct output *o) { - return init(o, DEFAULT_BPL_BITS); + return init(o, DEFAULT_BPL_HEX); } static int data_hex(struct output *o, char *data_in, uint64_t length_in, @@ -321,7 +321,7 @@ struct output_format output_text_bits = { struct output_format output_text_hex = { "hex", - "Hexadecimal (takes argument, default 256)", + "Hexadecimal (takes argument, default 192)", DF_LOGIC, init_hex, data_hex,