diff options
author | Glenn Washburn <development@efficientek.com> | 2021-03-04 18:22:33 -0600 |
---|---|---|
committer | Daniel Kiper <daniel.kiper@oracle.com> | 2021-03-10 14:50:44 +0100 |
commit | dc828b7d8be4f7498e31d4ab888759729e817abf (patch) | |
tree | f8f2708dc4452ba35d21fca6d8476b853f5a3720 | |
parent | 60875f4e15d704b875969b415501802b531c4db3 (diff) | |
download | grub-dc828b7d8be4f7498e31d4ab888759729e817abf.tar.gz |
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>
-rw-r--r-- | grub-core/parttool/msdospart.c | 3 |
1 files changed, 1 insertions, 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; |