diff options
Diffstat (limited to 'sys')
-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; |