diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-19 06:12:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-19 06:12:09 +0000 |
commit | 5cb3b6311b60425a60156b16240d7decdb92ee19 (patch) | |
tree | dabe51ec3893af3282d5f9e421356bb595876fce | |
parent | 3a98b300c9069b336f0bb722eb85695dc23b4e4f (diff) |
bad is long for xdr_long(); from cgd@netbsd
-rw-r--r-- | sbin/mountd/mountd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index 0215e51020a..5fb9864d70f 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mountd.c,v 1.9 1996/08/29 17:41:32 deraadt Exp $ */ +/* $OpenBSD: mountd.c,v 1.10 1996/09/19 06:12:08 deraadt Exp $ */ /* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */ /* @@ -336,7 +336,8 @@ mntsrv(rqstp, transp) u_long saddr; u_short sport; char rpcpath[RPCMNT_PATHLEN+1], dirpath[MAXPATHLEN]; - int bad = ENOENT, defset, hostset; + long bad = ENOENT; + int defset, hostset; sigset_t sighup_mask; sigemptyset(&sighup_mask); |