Don't use hexadecimal in the EBR partition names, because 'a'..'f'

are more commonly known as BSD partition names.

Discussed with: ivoras@
This commit is contained in:
Marcel Moolenaar 2009-04-08 16:18:16 +00:00
parent 293d484820
commit 94fe30d0ca

View file

@ -344,7 +344,7 @@ g_part_ebr_name(struct g_part_table *table, struct g_part_entry *entry,
char *buf, size_t bufsz)
{
snprintf(buf, bufsz, "+%08x", entry->gpe_index);
snprintf(buf, bufsz, "+%08u", entry->gpe_index);
return (buf);
}