From: Glenn Washburn Date: Thu, 9 Dec 2021 17:14:50 +0000 (-0600) Subject: luks2: Add debug message to align with luks and geli modules X-Git-Tag: grub-2.12-rc1~515 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74101d6c9927048597adeb362ae5c21044c0e58d;p=thirdparty%2Fgrub.git luks2: Add debug message to align with luks and geli modules Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/grub-core/disk/luks2.c b/grub-core/disk/luks2.c index 371a53b83..fea196dd4 100644 --- a/grub-core/disk/luks2.c +++ b/grub-core/disk/luks2.c @@ -370,7 +370,10 @@ luks2_scan (grub_disk_t disk, const char *check_uuid, int check_boot) uuid[j] = '\0'; if (check_uuid && grub_strcasecmp (check_uuid, uuid) != 0) - return NULL; + { + grub_dprintf ("luks2", "%s != %s\n", uuid, check_uuid); + return NULL; + } cryptodisk = grub_zalloc (sizeof (*cryptodisk)); if (!cryptodisk)