x86: ivybridge: Use syscon for the GMA device
[oweals/u-boot.git] / common / cmd_part.c
index b860624d939cad2d6b364e4af544112f56a7203c..55995097eb00c8d1a12f03a621d2d29082b58b37 100644 (file)
@@ -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);