Module Name: src
Committed By: christos
Date: Sun Dec 13 19:47:08 UTC 2015
Modified Files:
src/sys/compat/svr4: svr4_termios.c
Log Message:
PR/50520: David Binderman: Fix missing breaks.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/compat/svr4/svr4_termios.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/svr4/svr4_termios.c
diff -u src/sys/compat/svr4/svr4_termios.c:1.28 src/sys/compat/svr4/svr4_termios.c:1.29
--- src/sys/compat/svr4/svr4_termios.c:1.28 Sun Nov 9 13:16:55 2014
+++ src/sys/compat/svr4/svr4_termios.c Sun Dec 13 14:47:08 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_termios.c,v 1.28 2014/11/09 18:16:55 maxv Exp $ */
+/* $NetBSD: svr4_termios.c,v 1.29 2015/12/13 19:47:08 christos Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_termios.c,v 1.28 2014/11/09 18:16:55 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_termios.c,v 1.29 2015/12/13 19:47:08 christos Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -182,7 +182,7 @@ bsd_to_svr4_speed(u_long sp, u_long mask
{
switch (sp) {
#undef getval
-#define getval(a,b) case __CONCAT(a,b): sp = __CONCAT3(SVR4_,a,b)
+#define getval(a,b) case __CONCAT(a,b): sp = __CONCAT3(SVR4_,a,b); break
getval(B,0);
getval(B,50);
getval(B,75);