summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/hdparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 4bca122..6a81498 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -836,7 +836,7 @@ static void identify(uint16_t *id_supplied)
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");
}