aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-03-07 05:43:59 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-03-07 05:43:59 +0000
commit36dbb7ddef713d0d288c2e25249112d01cdb5986 (patch)
treeb7b8fe1512e51da84a27925177eb5b25de34db81 /usr.bin/rpcgen
parent4e6ace0853c0000d48d953e26708d8be5f7b8874 (diff)
downloadsrc-36dbb7ddef713d0d288c2e25249112d01cdb5986.tar.gz
src-36dbb7ddef713d0d288c2e25249112d01cdb5986.zip
Fix a #ifndef that became a #ifdef and changed the default
behaviour of rpcgen. Noticed by: bde
Notes
Notes: svn path=/head/; revision=34147
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c
index c06da1ba47c3..c63cb4283ff8 100644
--- a/usr.bin/rpcgen/rpc_main.c
+++ b/usr.bin/rpcgen/rpc_main.c
@@ -35,7 +35,7 @@
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
#endif
static const char rcsid[] =
- "$Id: rpc_main.c,v 1.7 1998/01/09 06:32:54 jb Exp $";
+ "$Id: rpc_main.c,v 1.8 1998/01/15 08:46:58 jb Exp $";
#endif
/*
@@ -1271,7 +1271,7 @@ parseargs(argc, argv, cmd)
}
} else { /* 4.1 mode */
pmflag = 0; /* set pmflag only in tirpcmode */
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
inetdflag = 1; /* inetdflag is TRUE by default */
#endif
if (cmd->nflag) { /* netid needs TIRPC */