Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Make a debug printf compile for all platforms



details:   https://anonhg.NetBSD.org/src/rev/1f6b36a8cfe6
branches:  trunk
changeset: 744165:1f6b36a8cfe6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 26 10:13:10 2020 +0000

description:
Make a debug printf compile for all platforms

diffstat:

 sys/lib/libsa/nfs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0ef0d42f357f -r 1f6b36a8cfe6 sys/lib/libsa/nfs.c
--- a/sys/lib/libsa/nfs.c       Sun Jan 26 10:12:29 2020 +0000
+++ b/sys/lib/libsa/nfs.c       Sun Jan 26 10:13:10 2020 +0000
@@ -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 @@
 
 #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)



Home | Main Index | Thread Index | Old Index