diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:23:46 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:23:46 +0000 |
commit | ddccbcba683e7f6493c953ba72d9ec8c8bfd21cf (patch) | |
tree | 0a4ddeaa5f8accbf6ce3cd29836eb2ff2da22dfd /sys/dev/ata/ata-all.c | |
parent | 4f451155dc58cc4953dbe3034d950a4e7f6500e1 (diff) | |
download | FreeBSD-src-ddccbcba683e7f6493c953ba72d9ec8c8bfd21cf.zip FreeBSD-src-ddccbcba683e7f6493c953ba72d9ec8c8bfd21cf.tar.gz |
Use [u]intmax_t and %j instead of long long and %ll to better fix warnings
I fixed earlier.
Requested by: mux, jake
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-rw-r--r-- | sys/dev/ata/ata-all.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index ffd16fb..c7cc11f 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -40,6 +40,7 @@ #include <sys/bio.h> #include <sys/malloc.h> #include <sys/devicestat.h> +#include <sys/stdint.h> #include <sys/sysctl.h> #include <machine/stdarg.h> #include <machine/resource.h> @@ -1007,9 +1008,9 @@ ata_command(struct ata_device *atadev, u_int8_t command, int error = 0; #ifdef ATA_DEBUG ata_prtdev(atadev, "ata_command: addr=%04lx, cmd=%02x, " - "lba=%lld, count=%d, feature=%d, flags=%02x\n", + "lba=%jd, count=%d, feature=%d, flags=%02x\n", rman_get_start(atadev->channel->r_io), - command, (long long)lba, count, feature, flags); + command, (intmax_t)lba, count, feature, flags); #endif /* select device */ |