svn commit: trunk/busybox/miscutils
vapier at busybox.net
vapier at busybox.net
Fri May 26 02:05:20 UTC 2006
Author: vapier
Date: 2006-05-25 19:05:19 -0700 (Thu, 25 May 2006)
New Revision: 15180
Log:
Yann E. MORIN. writes:
hdparm has a uint64_t passed to printf with a %llu format (which is ok, because
it's the same size), but without first being casted(?) to unsigned long long int.
Which is kinda funny because it's done OK on a few lines above...
Modified:
trunk/busybox/miscutils/hdparm.c
Changeset:
Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c 2006-05-26 02:01:29 UTC (rev 15179)
+++ trunk/busybox/miscutils/hdparm.c 2006-05-26 02:05:19 UTC (rev 15180)
@@ -836,7 +836,7 @@
printf("\tdevice size with M = 1000*1000: %11llu MBytes ",(long long unsigned int)bbbig);
if (bbbig > 1000)
- printf("(%llu GB)\n", bbbig/1000);
+ printf("(%llu GB)\n", (long long unsigned int)bbbig/1000);
else
printf("\n");
}
More information about the busybox-cvs
mailing list