mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Make grub_util_fd_seek match behaviour of other grub_util_fd_* and
fseeko.
This commit is contained in:
1 parent
dac86b182c
commit
b73249d260
9 files changed
+39
-32
No files matched your search
@@ -223,7 +223,7 @@ grub_util_get_geli_uuid (const char *dev)
|
||||
|
||||
s = grub_util_get_fd_size (fd, dev, &log_secsize);
|
||||
s >>= log_secsize;
|
||||
grub_util_fd_seek (fd, dev, (s << log_secsize) - 512);
|
||||
grub_util_fd_seek (fd, (s << log_secsize) - 512);
|
||||
|
||||
uuid = xmalloc (GRUB_MD_SHA256->mdlen * 2 + 1);
|
||||
if (grub_util_fd_read (fd, (void *) &hdr, 512) < 0)
|
||||
|
||||
Reference in new issue
Block a user