commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2144] 2009-04-27 Vladimir Serbinenko <address@hidden>


From: Vladimir Serbinenko
Subject: [2144] 2009-04-27 Vladimir Serbinenko <address@hidden>
Date: Mon, 27 Apr 2009 15:39:40 +0000

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  <address@hidden>

        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  <address@hidden>
+
+       Warning fix
+
+       * disk/scsi.c (grub_scsi_open): added missing cast when 
+       calling grub_dprintf
+
 2009-04-26  Vladimir Serbinenko  <address@hidden>
 
        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;
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]