summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2020-01-26 10:13:10 +0000
committerskrll <skrll@NetBSD.org>2020-01-26 10:13:10 +0000
commit8fbe141e42ea63bc8fcdef0c3db98bcc2cb3819a (patch)
tree88efa65f77d9d134dc0944c9eb45d7f587a5745e /sys/lib/libsa
parentfeb5c4906dd485cabbc668f52e210f49f579c587 (diff)
Make a debug printf compile for all platforms
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r--sys/lib/libsa/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c
index 8dcbe170fac..ca30742c282 100644
--- a/sys/lib/libsa/nfs.c
+++ b/sys/lib/libsa/nfs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs.c,v 1.49 2019/03/31 20:08:45 christos Exp $ */
+/* $NetBSD: nfs.c,v 1.50 2020/01/26 10:13:10 skrll Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -566,7 +566,7 @@ nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
#ifdef NFS_DEBUG
if (debug)
- printf("%s: size=%zu off=%td\n", __func__, size, fp->off);
+ printf("%s: size=%zu off=%" PRIx64 "\n", __func__, size, fp->off);
#endif
while ((int)size > 0) {
#if !defined(LIBSA_NO_TWIDDLE)