]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
luks2: Add missing newline to debug message
authorPatrick Steinhardt <ps@pks.im>
Thu, 20 Feb 2020 18:00:52 +0000 (19:00 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 28 Feb 2020 11:27:55 +0000 (12:27 +0100)
The debug message printed when decryption with a keyslot fails is
missing its trailing newline. Add it to avoid mangling it with
subsequent output.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/luks2.c

index 49ee9c86269f34874f5a655993e6a14d09355800..65c4f0aac2434c1cc3b6725250571d6c9d679ccc 100644 (file)
@@ -610,7 +610,7 @@ luks2_recover_key (grub_disk_t disk,
                               (const grub_uint8_t *) passphrase, grub_strlen (passphrase));
       if (ret)
        {
-         grub_dprintf ("luks2", "Decryption with keyslot %"PRIuGRUB_SIZE" failed", i);
+         grub_dprintf ("luks2", "Decryption with keyslot %"PRIuGRUB_SIZE" failed\n", i);
          continue;
        }