summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_socket.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-05-31 18:06:07 +0000
committerpeter <peter@FreeBSD.org>1998-05-31 18:06:07 +0000
commite410a1b02669a9586a1858407a3b8b27ac381d79 (patch)
treef3da24c6ec473874dc61b5db3a2a9394a37cf2b5 /sys/nfsclient/nfs_socket.c
parent35835ef239d8de7f44a973508f47a49a454e1723 (diff)
downloadFreeBSD-src-e410a1b02669a9586a1858407a3b8b27ac381d79.zip
FreeBSD-src-e410a1b02669a9586a1858407a3b8b27ac381d79.tar.gz
oops, nfs_msg() is called from client code too.
Diffstat (limited to 'sys/nfsclient/nfs_socket.c')
-rw-r--r--sys/nfsclient/nfs_socket.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c
index c1671d5..aca5758 100644
--- a/sys/nfsclient/nfs_socket.c
+++ b/sys/nfsclient/nfs_socket.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_socket.c 8.5 (Berkeley) 3/30/95
- * $Id: nfs_socket.c,v 1.35 1998/05/31 18:00:46 peter Exp $
+ * $Id: nfs_socket.c,v 1.36 1998/05/31 18:02:56 peter Exp $
*/
/*
@@ -1901,6 +1901,7 @@ nfsmout:
return (error);
}
+#endif
static int
nfs_msg(p, server, msg)
@@ -1917,6 +1918,8 @@ nfs_msg(p, server, msg)
tprintf_close(tpr);
return (0);
}
+
+#ifndef NFS_NOSERVER
/*
* Socket upcall routine for the nfsd sockets.
* The caddr_t arg is a pointer to the "struct nfssvc_sock".
OpenPOWER on IntegriCloud