diff options
author | 2015-05-12 02:49:48 +0000 | |
---|---|---|
committer | 2015-05-12 02:49:48 +0000 | |
commit | aac812b185acae92331b01a0c3abd9a85e094e66 (patch) | |
tree | 2b277d9b34893e1a056d86dfa377e5766ff6954c | |
parent | chflagsat() is also async-signal-safe (diff) | |
download | wireguard-openbsd-aac812b185acae92331b01a0c3abd9a85e094e66.tar.xz wireguard-openbsd-aac812b185acae92331b01a0c3abd9a85e094e66.zip |
Add missing braces.
Tested by and ok djm@
-rw-r--r-- | sys/arch/armv7/imx/imxuart.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/armv7/imx/imxuart.c b/sys/arch/armv7/imx/imxuart.c index 2aa2e394967..f66cbacec55 100644 --- a/sys/arch/armv7/imx/imxuart.c +++ b/sys/arch/armv7/imx/imxuart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxuart.c,v 1.2 2013/11/06 19:03:07 syl Exp $ */ +/* $OpenBSD: imxuart.c,v 1.3 2015/05/12 02:49:48 jsg Exp $ */ /* * Copyright (c) 2005 Dale Rahn <drahn@motorola.com> * @@ -196,11 +196,13 @@ imxuart_intr(void *arg) timeout_add(&sc->sc_diag_tmo, 60 * hz); } else { *p++ = c; - if (p == sc->sc_ibufhigh && ISSET(tp->t_cflag, CRTSCTS)) + if (p == sc->sc_ibufhigh && + ISSET(tp->t_cflag, CRTSCTS)) { /* XXX */ CLR(sc->sc_ucr3, IMXUART_CR3_DSR); bus_space_write_2(iot, ioh, IMXUART_UCR3, sc->sc_ucr3); + } } /* XXX - msr stuff ? */ |