From: Glenn Washburn Date: Fri, 5 Mar 2021 00:22:33 +0000 (-0600) Subject: parttool/msdospart: grub_error() missing format string argument X-Git-Tag: grub-2.06-rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc828b7d8be4f7498e31d4ab888759729e817abf;p=thirdparty%2Fgrub.git 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 --- 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;