Have necessary braces.

This commit is contained in:
enami 2001-11-07 12:57:33 +00:00
parent 54407dd7d8
commit 58a47f4ae2
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsmouse.c,v 1.19 2001/11/02 13:02:20 augustss Exp $ */
/* $NetBSD: wsmouse.c,v 1.20 2001/11/07 12:57:33 enami Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.19 2001/11/02 13:02:20 augustss Exp $");
__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.20 2001/11/07 12:57:33 enami Exp $");
/*
* Copyright (c) 1992, 1993
@ -459,10 +459,11 @@ wsmouseopen(dev_t dev, int flags, int mode, struct proc *p)
so ioctl() is possible. */
#if NWSMUX > 0
if (sc->sc_base.me_parent != NULL)
if (sc->sc_base.me_parent != NULL) {
/* Grab the mouse out of the greedy hands of the mux. */
DPRINTF(("wsmouseopen: detach\n"));
wsmux_detach_sc(&sc->sc_base);
}
#endif
if (sc->sc_base.me_evp != NULL)