]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-04-27 Vladimir Serbinenko <phcoder@gmail.com>
authorphcoder <phcoder@localhost>
Mon, 27 Apr 2009 15:39:39 +0000 (15:39 +0000)
committerphcoder <phcoder@localhost>
Mon, 27 Apr 2009 15:39:39 +0000 (15:39 +0000)
Warning fix

* disk/scsi.c (grub_scsi_open): added missing cast when
calling grub_dprintf

ChangeLog
disk/scsi.c

index 39666d07e132c47c91ca109d7ca68f5a699d60fa..9893347f8b0bbc87a3646205bb3360644b68e544 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-27  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Warning fix
+
+       * disk/scsi.c (grub_scsi_open): added missing cast when 
+       calling grub_dprintf
+
 2009-04-26  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Bug and warning fixes
index 319d8d6722e8e2e27542a6bfe971aaf507a0ea05..081d9c671e5b158b3ed94eaa0d5ff0603c7392c0 100644 (file)
@@ -301,7 +301,8 @@ grub_scsi_open (const char *name, grub_disk_t disk)
                                 << GRUB_DISK_SECTOR_BITS);
 
          grub_dprintf ("scsi", "capacity=%llu, blksize=%d\n",
-                       disk->total_sectors, scsi->blocksize);
+                       (unsigned long long) disk->total_sectors, 
+                       scsi->blocksize);
 
          return GRUB_ERR_NONE;
        }