From 28c66edd3e36dc724cc7f06ff8ab840705044208 Mon Sep 17 00:00:00 2001 From: mux Date: Mon, 24 Jun 2002 12:07:02 +0000 Subject: Yet another warning fix for 64 bits platforms. Reviewed by: phk --- sys/dev/md/md.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/md') diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 9c2e227..f09140d 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -76,6 +76,7 @@ #include #include #include +#include #include #include @@ -279,7 +280,7 @@ s_read(struct indir *ip, off_t offset) uintptr_t up; if (md_debug > 1) - printf("s_read(%lld)\n", offset); + printf("s_read(%jd)\n", (intmax_t)offset); up = 0; for (cip = ip; cip != NULL;) { if (cip->shift) { @@ -306,7 +307,7 @@ s_write(struct indir *ip, off_t offset, uintptr_t ptr) uintptr_t up; if (md_debug > 1) - printf("s_write(%lld, %p)\n", offset, (void *)ptr); + printf("s_write(%jd, %p)\n", (intmax_t)offset, (void *)ptr); up = 0; li = 0; cip = ip; -- cgit v1.1