summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-07 22:23:46 +0000
committerjhb <jhb@FreeBSD.org>2002-11-07 22:23:46 +0000
commitddccbcba683e7f6493c953ba72d9ec8c8bfd21cf (patch)
tree0a4ddeaa5f8accbf6ce3cd29836eb2ff2da22dfd /sys/dev/ida
parent4f451155dc58cc4953dbe3034d950a4e7f6500e1 (diff)
downloadFreeBSD-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/ida')
-rw-r--r--sys/dev/ida/ida.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index a60c516..39369ea 100644
--- a/sys/dev/ida/ida.c
+++ b/sys/dev/ida/ida.c
@@ -40,6 +40,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
+#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/malloc.h>
@@ -480,7 +481,7 @@ ida_intr(void *data)
if (qcb == NULL || qcb->state != QCB_ACTIVE) {
device_printf(ida->dev,
- "ignoring completion %llx\n", (long long)completed);
+ "ignoring completion %jx\n", (intmax_t)completed);
continue;
}
ida_done(ida, qcb);
OpenPOWER on IntegriCloud