Try again, argh printf types

This commit is contained in:
Steve McIntyre 2023-04-21 00:51:13 +00:00
parent 4f52e7f9b0
commit 8818b1d731
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
grub2 (2.06-11) unstable; urgency=medium
* And try again... :-/
-- Steve McIntyre <93sam@debian.org> Fri, 21 Apr 2023 01:50:26 +0100
grub2 (2.06-10) unstable; urgency=medium
* Fix 32-bit build with the osdep/devmapper/getroot patches.

View File

@ -108,7 +108,7 @@ index 2bf4264..cc3f7da 100644
+ params);
+ cipher = grub_strndup (c, seek_head - c);
+ if (cipher == NULL)
+ grub_util_error (_("could not strndup cipher of length `%u'"), seek_head - c);
+ grub_util_error (_("could not strndup cipher of length `%lu'"), (unsigned long)(seek_head - c));
+ remaining -= seek_head - c + 1;
+ c = seek_head + 1;
+
@ -119,7 +119,7 @@ index 2bf4264..cc3f7da 100644
+ params);
+ cipher_mode = grub_strndup (c, seek_head - c);
+ if (cipher_mode == NULL)
+ grub_util_error (_("could not strndup cipher_mode of length `%u'"), seek_head - c);
+ grub_util_error (_("could not strndup cipher_mode of length `%lu'"), (unsigned long)(seek_head - c));
+
+ remaining -= seek_head - c + 1;
+ c = seek_head + 1;