From 3f48a5e866cf05493b9f650b412c98db667dbbb4 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 19 Sep 1996 06:12:08 +0000 Subject: [PATCH] bad is long for xdr_long(); from cgd@netbsd --- sbin/mountd/mountd.c | 5 +++-- 1 file 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); -- 2.20.1