From 6569d6f3ecef2b82165a977615c66800a61e06d1 Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Mon, 24 Jun 2002 12:07:02 +0000 Subject: [PATCH] Yet another warning fix for 64 bits platforms. Reviewed by: phk --- sys/dev/md/md.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 9c2e227dc65e..f09140dc37a7 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;