target: Fixed format problem for mdh

Fixed format problem for mdh. It needs to display 4 chars.

Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
This commit is contained in:
Edgar Grimberg 2010-01-21 13:42:25 +01:00 committed by Øyvind Harboe
parent 1350b6aad0
commit bc088b302b
1 changed files with 1 additions and 1 deletions

View File

@ -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 */