factor cryptodisk part out

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2011-04-23 18:00:42 +02:00
1 parent fcf3bfb6ff
commit 8585e54bec
7 files changed
+80 -655

No files matched your search

+1 -1
View File
@@ -962,7 +962,7 @@ grub_util_get_grub_dev (const char *os_dev)
dash = grub_strchr (uuid + sizeof ("CRYPT-LUKS1-") - 1, '-');
if (dash)
*dash = 0;
grub_dev = grub_xasprintf ("luksuuid/%s",
grub_dev = grub_xasprintf ("cryptouuid/%s",
uuid + sizeof ("CRYPT-LUKS1-") - 1);
grub_free (uuid);
}