mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
Replace 8 with GRUB_CHAR_BIT in several places when appropriate.
This commit is contained in:
1 parent
ce7d92a9f2
commit
1865baa72c
4 files changed
+7
-3
No files matched your search
@@ -501,7 +501,7 @@ grub_efidisk_open (const char *name, struct grub_disk *disk)
|
||||
if (! d)
|
||||
return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such device");
|
||||
|
||||
disk->id = ((num << 8) | name[0]);
|
||||
disk->id = ((num << GRUB_CHAR_BIT) | name[0]);
|
||||
m = d->block_io->media;
|
||||
/* FIXME: Probably it is better to store the block size in the disk,
|
||||
and total sectors should be replaced with total blocks. */
|
||||
|
||||
Reference in new issue
Block a user