aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mse
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-06 18:13:11 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-06 18:13:11 +0000
commitdfd5dee1b0cf927c9d59de8e423325603f86b500 (patch)
treeb8fae917f3fe139609bec4915b6cbc239974a255 /sys/dev/mse
parent5f0d05904c70c58e07d4fd7fa4570840fbd9afda (diff)
downloadsrc-dfd5dee1b0cf927c9d59de8e423325603f86b500.tar.gz
src-dfd5dee1b0cf927c9d59de8e423325603f86b500.zip
Add sufficient braces to keep egcs happy about potentially ambiguous
if/else nesting.
Notes
Notes: svn path=/head/; revision=46568
Diffstat (limited to 'sys/dev/mse')
-rw-r--r--sys/dev/mse/mse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index 836ec9cc7561..001da0c5a325 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -11,7 +11,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
- * $Id: mse.c,v 1.39 1998/10/22 05:58:39 bde Exp $
+ * $Id: mse.c,v 1.40 1999/04/28 10:52:43 dt Exp $
*/
/*
* Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and
@@ -528,7 +528,7 @@ msepoll(dev, events, p)
int revents = 0;
s = spltty();
- if (events & (POLLIN | POLLRDNORM))
+ if (events & (POLLIN | POLLRDNORM)) {
if (sc->sc_bytesread != sc->mode.packetsize ||
sc->sc_deltax != 0 || sc->sc_deltay != 0 ||
(sc->sc_obuttons ^ sc->sc_buttons) != 0)
@@ -540,7 +540,7 @@ msepoll(dev, events, p)
*/
selrecord(p, &sc->sc_selp);
}
-
+ }
splx(s);
return (revents);
}