]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
disk/cryptodisk: Fix translatable message
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 17 Jun 2024 12:56:30 +0000 (15:56 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 20 Jun 2024 13:51:52 +0000 (15:51 +0200)
Fixes: https://savannah.gnu.org/bugs/?64408
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/cryptodisk.c

index f98acade6cd00e86df479ca9f336e4de16ca51ed..5e1eb2743ab8a5f5b1e3c4b707ccbec12d0e9055 100644 (file)
@@ -1359,9 +1359,9 @@ grub_cmd_cryptomount (grub_extcmd_context_t ctxt, int argc, char **args)
 
       if (keyfile_offset > keyfile->size)
        return grub_error (GRUB_ERR_OUT_OF_RANGE,
-                          N_("Keyfile offset, %llu, is greater than"
-                             "keyfile size, %" PRIuGRUB_UINT64_T),
-                          keyfile_offset, keyfile->size);
+                          N_("Keyfile offset, %llu, is greater than "
+                             "keyfile size, %llu"),
+                          keyfile_offset, (unsigned long long) keyfile->size);
 
       if (grub_file_seek (keyfile, (grub_off_t) keyfile_offset) == (grub_off_t) -1)
        return grub_errno;