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:
parent
1350b6aad0
commit
bc088b302b
|
@ -2170,7 +2170,7 @@ static void handle_md_output(struct command_context *cmd_ctx,
|
||||||
const char *value_fmt;
|
const char *value_fmt;
|
||||||
switch (size) {
|
switch (size) {
|
||||||
case 4: value_fmt = "%8.8x "; break;
|
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;
|
case 1: value_fmt = "%2.2x "; break;
|
||||||
default:
|
default:
|
||||||
/* "can't happen", caller checked */
|
/* "can't happen", caller checked */
|
||||||
|
|
Loading…
Reference in New Issue