svn commit: trunk/busybox/miscutils

vapier at busybox.net vapier at busybox.net
Thu May 11 02:31:47 UTC 2006


Author: vapier
Date: 2006-05-10 19:31:45 -0700 (Wed, 10 May 2006)
New Revision: 15060

Log:
typecast bbig to kill format warnings

Modified:
   trunk/busybox/miscutils/hdparm.c


Changeset:
Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c	2006-05-11 02:10:13 UTC (rev 15059)
+++ trunk/busybox/miscutils/hdparm.c	2006-05-11 02:31:45 UTC (rev 15060)
@@ -892,14 +892,14 @@
 			        (uint64_t)val[LBA_48_MSB]	<< 32 |
 			        (uint64_t)val[LBA_MID]	<< 16 |
 					val[LBA_LSB] ;
-			printf("\tLBA48  user addressable sectors:%11llu\n",bbbig);
+			printf("\tLBA48  user addressable sectors:%11llu\n",(long long unsigned int)bbbig);
 		}
 
 		if (!bbbig)
 			bbbig = (uint64_t)(ll>mm ? ll : mm); /* # 512 byte blocks */
-		printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",bbbig>>11);
+		printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",(long long unsigned int)(bbbig>>11));
 		bbbig = (bbbig<<9)/1000000;
-		printf("\tdevice size with M = 1000*1000: %11llu MBytes ",bbbig);
+		printf("\tdevice size with M = 1000*1000: %11llu MBytes ",(long long unsigned int)bbbig);
 
 		if_else_printf((bbbig > 1000),"(%llu GB)\n","\n",bbbig/1000);
 




More information about the busybox-cvs mailing list