From bc088b302bd0bb43cc9097a9f0b2e7369b0e04e2 Mon Sep 17 00:00:00 2001 From: Edgar Grimberg Date: Thu, 21 Jan 2010 13:42:25 +0100 Subject: [PATCH] target: Fixed format problem for mdh Fixed format problem for mdh. It needs to display 4 chars. Signed-off-by: Edgar Grimberg --- src/target/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/target.c b/src/target/target.c index c56265c1d..ff5aef34c 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2170,7 +2170,7 @@ static void handle_md_output(struct command_context *cmd_ctx, const char *value_fmt; switch (size) { case 4: value_fmt = "%8.8x "; break; - case 2: value_fmt = "%4.2x "; break; + case 2: value_fmt = "%4.4x "; break; case 1: value_fmt = "%2.2x "; break; default: /* "can't happen", caller checked */ -- 2.11.4.GIT