Have necessary braces.

This commit is contained in:
enami 2001-11-07 12:57:33 +00:00
parent 54407dd7d8
commit 58a47f4ae2

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. * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -31,7 +31,7 @@
*/ */
#include <sys/cdefs.h> #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 * Copyright (c) 1992, 1993
@ -459,10 +459,11 @@ wsmouseopen(dev_t dev, int flags, int mode, struct proc *p)
so ioctl() is possible. */ so ioctl() is possible. */
#if NWSMUX > 0 #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. */ /* Grab the mouse out of the greedy hands of the mux. */
DPRINTF(("wsmouseopen: detach\n")); DPRINTF(("wsmouseopen: detach\n"));
wsmux_detach_sc(&sc->sc_base); wsmux_detach_sc(&sc->sc_base);
}
#endif #endif
if (sc->sc_base.me_evp != NULL) if (sc->sc_base.me_evp != NULL)