atacontrol(8): Fix amd64 warnings.
authorSascha Wildner <saw@online.de>
Thu, 26 Feb 2009 22:45:32 +0000 (23:45 +0100)
committerSascha Wildner <saw@online.de>
Thu, 26 Feb 2009 22:45:32 +0000 (23:45 +0100)
sbin/atacontrol/atacontrol.c

index 5432acf..a5a925a 100644 (file)
@@ -137,7 +137,7 @@ cap_print(struct ata_params *parm)
 
        printf("lba48%ssupported         ", parm->support.address48 ? " " : " not ");
        if (parm->lba_size48)
-               printf("%lld sectors\n", parm->lba_size48);     
+               printf("%ju sectors\n", (uintmax_t)parm->lba_size48);
        else
                printf("\n");
        printf("dma%ssupported\n", parm->support_dma ? " " : " not");