diff options
author | jb <jb@FreeBSD.org> | 1998-03-07 05:43:59 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-03-07 05:43:59 +0000 |
commit | 5f491ccf6eb3dbb63b3bca71a6564daf8a84e465 (patch) | |
tree | 79e3726d484391c03781f0cf5380dc24ab35aad9 /usr.bin/rpcgen | |
parent | b5a6d61144d61bee4a3f4e2af816065ad84fc974 (diff) | |
download | FreeBSD-src-5f491ccf6eb3dbb63b3bca71a6564daf8a84e465.zip FreeBSD-src-5f491ccf6eb3dbb63b3bca71a6564daf8a84e465.tar.gz |
Fix a #ifndef that became a #ifdef and changed the default
behaviour of rpcgen.
Noticed by: bde
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r-- | usr.bin/rpcgen/rpc_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c index c06da1b..c63cb42 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 */ |