Make this WARNS=2 clean by using %j and (uintmax_t).
Reviewed by: tjr@ on audit@ Approved by: silence from sos@
This commit is contained in:
parent
828e7683bf
commit
c0bb08c5ed
@ -1,7 +1,6 @@
|
||||
#$FreeBSD$
|
||||
|
||||
PROG= atacontrol
|
||||
WARNS= 0
|
||||
MAN= atacontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -137,7 +138,7 @@ cap_print(struct ata_params *parm)
|
||||
printf("lba48%ssupported ",
|
||||
parm->support.address48 ? " " : " not ");
|
||||
if (lbasize48)
|
||||
printf("%lld sectors\n", lbasize48);
|
||||
printf("%ju sectors\n", (uintmax_t)lbasize48);
|
||||
else
|
||||
printf("\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user