Skip to content
Snippets Groups Projects
Commit 8818b1d7 authored by Steve McIntyre's avatar Steve McIntyre
Browse files

Try again, argh printf types

parent 4f52e7f9
No related merge requests found
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 grub2 (2.06-10) unstable; urgency=medium
* Fix 32-bit build with the osdep/devmapper/getroot patches. * Fix 32-bit build with the osdep/devmapper/getroot patches.
......
...@@ -108,7 +108,7 @@ index 2bf4264..cc3f7da 100644 ...@@ -108,7 +108,7 @@ index 2bf4264..cc3f7da 100644
+ params); + params);
+ cipher = grub_strndup (c, seek_head - c); + cipher = grub_strndup (c, seek_head - c);
+ if (cipher == NULL) + 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; + remaining -= seek_head - c + 1;
+ c = seek_head + 1; + c = seek_head + 1;
+ +
...@@ -119,7 +119,7 @@ index 2bf4264..cc3f7da 100644 ...@@ -119,7 +119,7 @@ index 2bf4264..cc3f7da 100644
+ params); + params);
+ cipher_mode = grub_strndup (c, seek_head - c); + cipher_mode = grub_strndup (c, seek_head - c);
+ if (cipher_mode == NULL) + 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; + remaining -= seek_head - c + 1;
+ c = seek_head + 1; + c = seek_head + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment