From ddccbcba683e7f6493c953ba72d9ec8c8bfd21cf Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 7 Nov 2002 22:23:46 +0000 Subject: Use [u]intmax_t and %j instead of long long and %ll to better fix warnings I fixed earlier. Requested by: mux, jake --- sys/dev/ata/atapi-tape.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/ata/atapi-tape.c') diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 360ff0a..a0fdc2e 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -291,8 +292,8 @@ astclose(dev_t dev, int flags, int fmt, struct thread *td) stp->flags &= F_CTL_WARN; #ifdef AST_DEBUG - ata_prtdev(stp->device, "%llu total bytes transferred\n", - (unsigned long long)ast_total); + ata_prtdev(stp->device, "%ju total bytes transferred\n", + (uintmax_t)ast_total); #endif return 0; } -- cgit v1.1