mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 11:56:03 +00:00
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:
parent
60875f4e15
commit
dc828b7d8b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user