[1846] 2008-09-03 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1846
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1846
Author:   robertmh
Date:     2008-09-03 10:52:07 +0000 (Wed, 03 Sep 2008)

Log Message:
-----------
2008-09-03  Robert Millan  <[email protected]>

        * disk/scsi.c (grub_scsi_open): Remove size limit when printing
        `disk->total_sectors'.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/scsi.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-09-01 19:03:16 UTC (rev 1845)
+++ trunk/grub2/ChangeLog	2008-09-03 10:52:07 UTC (rev 1846)
@@ -1,3 +1,8 @@
+2008-09-03  Robert Millan  <[email protected]>
+
+	* disk/scsi.c (grub_scsi_open): Remove size limit when printing
+	`disk->total_sectors'.
+
 2008-09-01  Colin D Bennett <[email protected]>
 
 	* include/grub/normal.h: Fixed incorrect comment for

Modified: trunk/grub2/disk/scsi.c
===================================================================
--- trunk/grub2/disk/scsi.c	2008-09-01 19:03:16 UTC (rev 1845)
+++ trunk/grub2/disk/scsi.c	2008-09-03 10:52:07 UTC (rev 1846)
@@ -300,8 +300,8 @@
 	  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;
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.