summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_socket.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-12-24 02:43:53 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-12-24 02:43:53 +0000
commit34ed38b118f51eae27c3119550de5b6cdc4fb3f9 (patch)
tree2ec914ba0ce8ec6bb647ed8837d91bf5073efa82 /sys/nfs/nfs_socket.c
parent36c3a01e29372f8c0d28b0d3c39263f6cf2e1bca (diff)
Replace the TRUE/FALSE defines with 1/0 respectively. This doesn't
hurt readability and it was just plain annoying seeing them defined in every other .c file. OK blambert@
Diffstat (limited to 'sys/nfs/nfs_socket.c')
-rw-r--r--sys/nfs/nfs_socket.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c
index da9bd7c7316..a2a28e33629 100644
--- a/sys/nfs/nfs_socket.c
+++ b/sys/nfs/nfs_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_socket.c,v 1.70 2008/10/31 17:28:47 blambert Exp $ */
+/* $OpenBSD: nfs_socket.c,v 1.71 2008/12/24 02:43:52 thib Exp $ */
/* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */
/*
@@ -69,9 +69,6 @@
#include <nfs/nfsrtt.h>
#include <nfs/nfs_var.h>
-#define TRUE 1
-#define FALSE 0
-
/*
* Estimate rto for an nfs rpc sent via. an unreliable datagram.
* Use the mean and mean deviation of rtt for the appropriate type of rpc
@@ -1858,7 +1855,7 @@ nfsrv_dorec(slp, nfsd, ndp)
nd->nd_md = nd->nd_mrep = m;
nd->nd_nam2 = nam;
nd->nd_dpos = mtod(m, caddr_t);
- error = nfs_getreq(nd, nfsd, TRUE);
+ error = nfs_getreq(nd, nfsd, 1);
if (error) {
m_freem(nam);
free(nd, M_NFSRVDESC);