summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump-parse.c
diff options
context:
space:
mode:
authorHUANG Wei2014-08-06 06:20:18 +0200
committerHUANG Wei2014-08-06 06:20:18 +0200
commit82233c2a0a4cce89307061bdc7ffdb58c4936d4f (patch)
tree53e6c6ca921482abf733de9411f6707f2346910d /text-utils/hexdump-parse.c
parentzramctl: fix typo (diff)
downloadkernel-qcow2-util-linux-82233c2a0a4cce89307061bdc7ffdb58c4936d4f.tar.gz
kernel-qcow2-util-linux-82233c2a0a4cce89307061bdc7ffdb58c4936d4f.tar.xz
kernel-qcow2-util-linux-82233c2a0a4cce89307061bdc7ffdb58c4936d4f.zip
hexdump: Fix parse format of "byte count without repetition count"
Diffstat (limited to 'text-utils/hexdump-parse.c')
-rw-r--r--text-utils/hexdump-parse.c2
1 files changed, 1 insertions, 1 deletions
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)) {