Module Name:    src
Committed By:   skrll
Date:           Sun Jan 26 10:13:10 UTC 2020

Modified Files:
        src/sys/lib/libsa: nfs.c

Log Message:
Make a debug printf compile for all platforms


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/lib/libsa/nfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libsa/nfs.c
diff -u src/sys/lib/libsa/nfs.c:1.49 src/sys/lib/libsa/nfs.c:1.50
--- src/sys/lib/libsa/nfs.c:1.49	Sun Mar 31 20:08:45 2019
+++ src/sys/lib/libsa/nfs.c	Sun Jan 26 10:13:10 2020
@@ -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,
 
 #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)

Reply via email to