diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c index e074e434368d..09a6953a39e0 100644 --- a/sys/lib/libsa/nfs.c +++ b/sys/lib/libsa/nfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: nfs.c,v 1.22 1997/06/26 19:11:45 drochner Exp $ */ +/* $NetBSD: nfs.c,v 1.23 1998/01/23 19:27:44 thorpej Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -539,7 +539,7 @@ nfs_close(f) #ifdef NFS_DEBUG if (debug) - printf("nfs_close: fp=0x%x\n", fp); + printf("nfs_close: fp=0x%lx\n", (u_long)fp); #endif if (fp) @@ -565,7 +565,8 @@ nfs_read(f, buf, size, resid) #ifdef NFS_DEBUG if (debug) - printf("nfs_read: size=%d off=%d\n", size, (int)fp->off); + printf("nfs_read: size=%lu off=%d\n", (u_long)size, + (int)fp->off); #endif while ((int)size > 0) { twiddle(); diff --git a/sys/lib/libsa/rpc.c b/sys/lib/libsa/rpc.c index 082d61169d58..47466d478d59 100644 --- a/sys/lib/libsa/rpc.c +++ b/sys/lib/libsa/rpc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rpc.c,v 1.17 1997/06/26 19:11:53 drochner Exp $ */ +/* $NetBSD: rpc.c,v 1.18 1998/01/23 19:27:45 thorpej Exp $ */ /* * Copyright (c) 1992 Regents of the University of California. @@ -193,7 +193,7 @@ rpc_call(d, prog, vers, proc, sdata, slen, rdata, rlen) #ifdef RPC_DEBUG if (debug) - printf("callrpc: cc=%d rlen=%d\n", cc, rlen); + printf("callrpc: cc=%ld rlen=%lu\n", (long)cc, (u_long)rlen); #endif if (cc == -1) return (-1); @@ -250,7 +250,7 @@ recvrpc(d, pkt, len, tleft) errno = 0; #ifdef RPC_DEBUG if (debug) - printf("recvrpc: called len=%d\n", len); + printf("recvrpc: called len=%lu\n", (u_long)len); #endif n = readudp(d, pkt, len, tleft);