From 73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 6 May 1999 18:13:11 +0000 Subject: Add sufficient braces to keep egcs happy about potentially ambiguous if/else nesting. --- sys/i386/isa/tw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386/isa/tw.c') diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c index 0060e51..0fb02ed 100644 --- a/sys/i386/isa/tw.c +++ b/sys/i386/isa/tw.c @@ -544,12 +544,12 @@ int twpoll(dev, events, p) sc = &tw_sc[TWUNIT(dev)]; s = spltty(); /* XXX is this correct? the original code didn't test select rw mode!! */ - if (events & (POLLIN | POLLRDNORM)) + if (events & (POLLIN | POLLRDNORM)) { if(sc->sc_nextin != sc->sc_nextout) revents |= events & (POLLIN | POLLRDNORM); else selrecord(p, &sc->sc_selp); - + } splx(s); return(revents); } -- cgit v1.1