]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-09-03 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Wed, 3 Sep 2008 10:52:07 +0000 (10:52 +0000)
committerrobertmh <robertmh@localhost>
Wed, 3 Sep 2008 10:52:07 +0000 (10:52 +0000)
        * disk/scsi.c (grub_scsi_open): Remove size limit when printing
        `disk->total_sectors'.

ChangeLog
disk/scsi.c

index 171ad08eaa469da6050477c76b4a565d722105fa..ad1e6adaf9419e708bcd3d123e96d500c6008894 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 01ef04ee78b3152fe76bee2bea228c43dacdee69..aad59b5a3382afceba3b680028d768345a25e717 100644 (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;
        }