2008-09-03 Robert Millan <rmh@aybabtu.com>

* disk/scsi.c (grub_scsi_open): Remove size limit when printing
        `disk->total_sectors'.
This commit is contained in:
robertmh 2008-09-03 10:52:07 +00:00
parent a0224a4e62
commit 9124f65de0
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-09-03 Robert Millan <rmh@aybabtu.com>
* disk/scsi.c (grub_scsi_open): Remove size limit when printing
`disk->total_sectors'.
2008-09-01 Colin D Bennett <colin@gibibit.com>
* include/grub/normal.h: Fixed incorrect comment for

View file

@ -300,8 +300,8 @@ grub_scsi_open (const char *name, grub_disk_t disk)
disk->total_sectors = ((scsi->size * scsi->blocksize)
<< GRUB_DISK_SECTOR_BITS);
grub_dprintf ("scsi", "capacity=%d, blksize=%d\n",
(int) disk->total_sectors, scsi->blocksize);
grub_dprintf ("scsi", "capacity=%llu, blksize=%d\n",
disk->total_sectors, scsi->blocksize);
return GRUB_ERR_NONE;
}