summaryrefslogtreecommitdiff
path: root/common/cmd_part.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_part.c')
-rw-r--r--common/cmd_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_part.c b/common/cmd_part.c
index b860624..5599509 100644
--- a/common/cmd_part.c
+++ b/common/cmd_part.c
@@ -100,7 +100,7 @@ static int do_part_list(int argc, char * const argv[])
if (bootable && !info.bootable)
continue;
- sprintf(t, "%s%d", str[0] ? " " : "", p);
+ sprintf(t, "%s%x", str[0] ? " " : "", p);
strcat(str, t);
}
setenv(var, str);