parttool/msdospart: grub_error() missing format string argument

Its obvious from the error message that the variable named "type" was
accidentally omitted.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn 2021-03-04 18:22:33 -06:00 committed by Daniel Kiper
parent 60875f4e15
commit dc828b7d8b

View File

@ -127,8 +127,7 @@ static grub_err_t grub_pcpart_type (const grub_device_t dev,
{
dev->disk->partition = part;
return grub_error (GRUB_ERR_BAD_ARGUMENT,
N_("the partition type 0x%x isn't "
"valid"));
N_("the partition type 0x%x isn't valid"), type);
}
mbr.entries[index].type = type;