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/dev/snp/snp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/snp') diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 0a1438d..ebffb2a 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -497,12 +497,12 @@ snppoll(dev, events, p) * Caller should see if we down via FIONREAD ioctl().The last should * return -1 to indicate down state. */ - if (events & (POLLIN | POLLRDNORM)) + if (events & (POLLIN | POLLRDNORM)) { if (snp->snp_flags & SNOOP_DOWN || snp->snp_len > 0) revents |= events & (POLLIN | POLLRDNORM); else selrecord(p, &snp->snp_sel); - + } return (revents); } -- cgit v1.1