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:
Johan Karlsson 2003-04-22 19:57:46 +00:00
parent 828e7683bf
commit c0bb08c5ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113866
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
#$FreeBSD$
PROG= atacontrol
WARNS= 0
MAN= atacontrol.8
.include <bsd.prog.mk>

View File

@ -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");