summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/nfs.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-22 12:00:43 +0000
committerderaadt <deraadt@openbsd.org>1996-05-22 12:00:43 +0000
commita4bb608e9a862faee58a4f33c7b83f64aceebae5 (patch)
tree41e22393ca2f8d36723f03135f5730848530524e /sys/lib/libsa/nfs.c
parentsync (diff)
downloadwireguard-openbsd-a4bb608e9a862faee58a4f33c7b83f64aceebae5.tar.xz
wireguard-openbsd-a4bb608e9a862faee58a4f33c7b83f64aceebae5.zip
obviously killing gcc warnings is more important than keeping this library small
Diffstat (limited to 'sys/lib/libsa/nfs.c')
-rw-r--r--sys/lib/libsa/nfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c
index 7aedb5f1b8c..bd4163616f1 100644
--- a/sys/lib/libsa/nfs.c
+++ b/sys/lib/libsa/nfs.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: nfs.c,v 1.2 1996/04/19 16:09:50 niklas Exp $ */
-/* $NetBSD: nfs.c,v 1.14 1996/02/26 23:05:21 gwr Exp $ */
+/* $OpenBSD: nfs.c,v 1.3 1996/05/22 12:00:44 deraadt Exp $ */
+/* $NetBSD: nfs.c,v 1.15 1996/05/14 10:28:26 leo Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -275,7 +275,7 @@ nfs_readdata(d, off, addr, len)
rlen = cc - hlen;
x = ntohl(repl->count);
if (rlen < x) {
- printf("nfsread: short packet, %d < %d\n", rlen, x);
+ printf("nfsread: short packet, %d < %ld\n", rlen, x);
errno = EBADRPC;
return(-1);
}