mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Use the common size routine in hostfs so we can read disks as well.
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors): Rename to .. (grub_util_get_fd_size): ... this. Return size in bytes. All users updated. * grub-core/kern/emu/hostfs.c (grub_hostfs_open): Use grub_util_get_fd_size.
This commit is contained in:
1 parent
c66d641020
commit
a121c9648e
5 files changed
+24
-13
No files matched your search
@@ -59,7 +59,7 @@ grub_hostdisk_os_dev_to_grub_drive (const char *os_dev, int add);
|
||||
|
||||
#if !defined(__MINGW32__)
|
||||
grub_uint64_t
|
||||
grub_util_get_fd_sectors (int fd, const char *name, unsigned *log_secsize);
|
||||
grub_util_get_fd_size (int fd, const char *name, unsigned *log_secsize);
|
||||
#endif
|
||||
|
||||
char *
|
||||
|
||||
Reference in new issue
Block a user