diff options
author | mux <mux@FreeBSD.org> | 2002-06-24 12:07:02 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-06-24 12:07:02 +0000 |
commit | 28c66edd3e36dc724cc7f06ff8ab840705044208 (patch) | |
tree | 1b2272717b066ad69501999ec21b57a929718c16 /sys/dev/md | |
parent | c7ec6be4fb2c243155bcba7a41262fe683933ea9 (diff) | |
download | FreeBSD-src-28c66edd3e36dc724cc7f06ff8ab840705044208.zip FreeBSD-src-28c66edd3e36dc724cc7f06ff8ab840705044208.tar.gz |
Yet another warning fix for 64 bits platforms.
Reviewed by: phk
Diffstat (limited to 'sys/dev/md')
-rw-r--r-- | sys/dev/md/md.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/namei.h> #include <sys/proc.h> #include <sys/queue.h> +#include <sys/stdint.h> #include <sys/sysctl.h> #include <sys/vnode.h> @@ -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; |