summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 16:53:16 +0000
committerphk <phk@FreeBSD.org>2003-05-31 16:53:16 +0000
commit3953441927fcf31f3c502b9ec0ee765bab65e7e3 (patch)
tree978f0454edb340a4d87bbbbc68df8b97c5663471 /sys/kern/tty_pty.c
parent153e03600b95c50c9721c51ae2583ac0462d977c (diff)
downloadFreeBSD-src-3953441927fcf31f3c502b9ec0ee765bab65e7e3.zip
FreeBSD-src-3953441927fcf31f3c502b9ec0ee765bab65e7e3.tar.gz
"break" rather than fall through to a break in the default clause.
Found by: FlexeLint
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index eadcf08..ef914df 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -787,6 +787,7 @@ ptyioctl(dev, cmd, data, flag, td)
#endif
pti->pt_send |= TIOCPKT_IOCTL;
ptcwakeup(tp, FREAD);
+ break;
default:
break;
}
OpenPOWER on IntegriCloud