mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Improve gettext support. Stylistic fixes and error handling fixes while
on it.
This commit is contained in:
1 parent
215c90cb82
commit
9c4b5c13e6
184 files changed
+1175
-959
No files matched your search
@@ -408,7 +408,7 @@ recover_key (grub_disk_t source, grub_cryptodisk_t dev)
|
||||
|
||||
sector = grub_disk_get_size (source);
|
||||
if (sector == GRUB_DISK_SIZE_UNKNOWN || sector == 0)
|
||||
return grub_error (GRUB_ERR_OUT_OF_RANGE, "not a geli");
|
||||
return grub_error (GRUB_ERR_BUG, "not a geli");
|
||||
|
||||
/* Read the GELI header. */
|
||||
err = grub_disk_read (source, sector - 1, 0, sizeof (header), &header);
|
||||
|
||||
Reference in new issue
Block a user