From dc828b7d8be4f7498e31d4ab888759729e817abf Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Thu, 4 Mar 2021 18:22:33 -0600 Subject: [PATCH] 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 Reviewed-by: Daniel Kiper --- grub-core/parttool/msdospart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/grub-core/parttool/msdospart.c b/grub-core/parttool/msdospart.c index dcbf74e3b..3918caa06 100644 --- a/grub-core/parttool/msdospart.c +++ b/grub-core/parttool/msdospart.c @@ -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;