From 82233c2a0a4cce89307061bdc7ffdb58c4936d4f Mon Sep 17 00:00:00 2001 From: HUANG Wei Date: Wed, 6 Aug 2014 12:20:18 +0800 Subject: hexdump: Fix parse format of "byte count without repetition count" --- text-utils/hexdump-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils') diff --git a/text-utils/hexdump-parse.c b/text-utils/hexdump-parse.c index 37e708611..8d14c5b98 100644 --- a/text-utils/hexdump-parse.c +++ b/text-utils/hexdump-parse.c @@ -141,7 +141,7 @@ void add_fmt(const char *fmt, struct hexdump *hex) /* Skip slash and trailing white space. */ if (*p == '/') - p = skip_space(p); + p = skip_space(++p); /* byte count */ if (isdigit(*p)) { -- cgit v1.2.3-55-g7522