fix-gpt-patch-print-specifier-warning.patch 507 B

12345678910111213141516
  1. diff --git a/block/partitions/efi.c b/block/partitions/efi.c
  2. index b33671d..068d5a6 100644
  3. --- a/block/partitions/efi.c
  4. +++ b/block/partitions/efi.c
  5. @@ -369,7 +369,9 @@
  6. /* Check the GUID Partition Table signature */
  7. if (le64_to_cpu((*gpt)->signature) == GPT_HEADER_SIGNATURE_IGNORED) {
  8. - pr_debug("GUID Partition Table at LBA %llu marked IGNOREME\n");
  9. + pr_debug("GUID Partition Table at LBA %llu marked IGNOREME\n",
  10. + (unsigned long long)lba);
  11. +
  12. if (ignored)
  13. *ignored = 1;
  14. goto fail;