diff options
author | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
commit | 73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9 (patch) | |
tree | cd23f4c8f0d180abffffaece640b7971fd1103e2 /sys/i386/ibcs2/ibcs2_fcntl.c | |
parent | ff951279f971ed62682d7071d202a8e45e6e32a4 (diff) | |
download | FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.zip FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.tar.gz |
Add sufficient braces to keep egcs happy about potentially ambiguous
if/else nesting.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_fcntl.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_fcntl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/ibcs2/ibcs2_fcntl.c b/sys/i386/ibcs2/ibcs2_fcntl.c index 0fc8b7f..436489263 100644 --- a/sys/i386/ibcs2/ibcs2_fcntl.c +++ b/sys/i386/ibcs2/ibcs2_fcntl.c @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ibcs2_fcntl.c,v 1.10 1997/11/06 19:28:24 phk Exp $ + * $Id: ibcs2_fcntl.c,v 1.11 1998/02/04 04:12:28 eivind Exp $ */ #include "opt_spx_hack.h" @@ -183,10 +183,10 @@ ibcs2_open(p, uap) ret = open(p, (struct open_args *)uap); #ifdef SPX_HACK - if(ret == ENXIO) - if(!strcmp(SCARG(uap, path), "/compat/ibcs2/dev/spx")) + if (ret == ENXIO) { + if (!strcmp(SCARG(uap, path), "/compat/ibcs2/dev/spx")) ret = spx_open(p, uap); - else + } else #endif /* SPX_HACK */ if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { struct filedesc *fdp = p->p_fd; |