From: HUANG Wei Date: Wed, 6 Aug 2014 04:20:18 +0000 (+0800) Subject: hexdump: Fix parse format of "byte count without repetition count" X-Git-Tag: v2.26-rc1~547^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82233c2a0a4cce89307061bdc7ffdb58c4936d4f;p=thirdparty%2Futil-linux.git hexdump: Fix parse format of "byte count without repetition count" --- diff --git a/text-utils/hexdump-parse.c b/text-utils/hexdump-parse.c index 37e708611f..8d14c5b980 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)) {