]> git.proxmox.com Git - grub2.git/commitdiff
Fix 32-bit compilation
authorSteve McIntyre <93sam@debian.org>
Thu, 20 Apr 2023 23:59:32 +0000 (00:59 +0100)
committerSteve McIntyre <93sam@debian.org>
Fri, 21 Apr 2023 00:15:13 +0000 (00:15 +0000)
debian/changelog
debian/patches/osdep-devmapper-getroot-set-up-cheated-luks2-cryptodisk-mount-from-dm-parameters.patch

index 64d1bae50124d1c34e8fbef65d07b50726c7b162..b9050c1772a36a3d765a6031e94edec7308f5718 100644 (file)
@@ -1,3 +1,9 @@
+grub2 (2.06-10) unstable; urgency=medium
+
+  * Fix 32-bit build with the osdep/devmapper/getroot patches.
+
+ -- Steve McIntyre <93sam@debian.org>  Fri, 21 Apr 2023 01:14:13 +0100
+
 grub2 (2.06-9) unstable; urgency=medium
 
   [ Steve McIntyre ]
index 1f53481fa35b7ce598098fd7ad864b4d52ba3b7e..fd35f9a0e11c01a987457248022981f6b911809d 100644 (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 `%lu'"), seek_head - c);
++                grub_util_error (_("could not strndup cipher of length `%u'"), 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 `%lu'"), seek_head - c);
++                grub_util_error (_("could not strndup cipher_mode of length `%u'"), seek_head - c);
 +
 +              remaining -= seek_head - c + 1;
 +              c = seek_head + 1;