[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 02/13] error: grub_error missing format string argument
From: |
Glenn Washburn |
Subject: |
[PATCH v4 02/13] error: grub_error missing format string argument |
Date: |
Thu, 18 Feb 2021 20:47:03 -0600 |
Its obvious from the error message that the variable named "type" was
accidentally omitted.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
grub-core/parttool/msdospart.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grub-core/parttool/msdospart.c b/grub-core/parttool/msdospart.c
index dcbf74e3b..2e2e9d527 100644
--- a/grub-core/parttool/msdospart.c
+++ b/grub-core/parttool/msdospart.c
@@ -127,8 +127,8 @@ 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;
--
2.27.0
- [PATCH v4 00/13] error: Do compile-time format string checking on grub_error, Glenn Washburn, 2021/02/18
- [PATCH v4 01/13] misc: Format string for grub_error should be a literal, Glenn Washburn, 2021/02/18
- [PATCH v4 02/13] error: grub_error missing format string argument,
Glenn Washburn <=
- [PATCH v4 04/13] dmraid_nvidia: Format string error in grub_error, Glenn Washburn, 2021/02/18
- [PATCH v4 03/13] error: grub_error format string add missing format code, Glenn Washburn, 2021/02/18
- [PATCH v4 08/13] error: Use %p format code for pointer types, Glenn Washburn, 2021/02/18
- [PATCH v4 07/13] efi: Format string error in grub_error, Glenn Washburn, 2021/02/18
- [PATCH v4 06/13] pgp: Format code for grub_error is incorrect, Glenn Washburn, 2021/02/18
- [PATCH v4 10/13] error: Use format code PRIxGRUB_UINT64_T for 64-bit arg in grub_error, Glenn Washburn, 2021/02/18