Revision: 2144
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2144
Author: phcoder
Date: 2009-04-27 15:39:39 +0000 (Mon, 27 Apr 2009)
Log Message:
-----------
2009-04-27 Vladimir Serbinenko <[email protected]>
Warning fix
* disk/scsi.c (grub_scsi_open): added missing cast when
calling grub_dprintf
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/disk/scsi.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-04-26 15:09:30 UTC (rev 2143)
+++ trunk/grub2/ChangeLog 2009-04-27 15:39:39 UTC (rev 2144)
@@ -1,3 +1,10 @@
+2009-04-27 Vladimir Serbinenko <[email protected]>
+
+ Warning fix
+
+ * disk/scsi.c (grub_scsi_open): added missing cast when
+ calling grub_dprintf
+
2009-04-26 Vladimir Serbinenko <[email protected]>
Bug and warning fixes
Modified: trunk/grub2/disk/scsi.c
===================================================================
--- trunk/grub2/disk/scsi.c 2009-04-26 15:09:30 UTC (rev 2143)
+++ trunk/grub2/disk/scsi.c 2009-04-27 15:39:39 UTC (rev 2144)
@@ -301,7 +301,8 @@
<< 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;
}