diff options
Diffstat (limited to 'cmd/part.c')
-rw-r--r-- | cmd/part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/part.c b/cmd/part.c index 6cfb67b279..5e4e45ca6d 100644 --- a/cmd/part.c +++ b/cmd/part.c @@ -152,7 +152,7 @@ static int do_part_info(int argc, char * const argv[], enum cmd_part_info param) snprintf(buf, sizeof(buf), LBAF, info.size); break; case CMD_PART_INFO_NUMBER: - snprintf(buf, sizeof(buf), "%d", part); + snprintf(buf, sizeof(buf), "0x%x", part); break; default: printf("** Unknown cmd_part_info value: %d\n", param); |