Module Name: src
Committed By: mlelstv
Date: Fri Dec 11 08:12:18 UTC 2015
Modified Files:
src/sys/compat/svr4_32: svr4_32_termios.c
Log Message:
PR 50519 missing breaks in switch
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/svr4_32/svr4_32_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_32/svr4_32_termios.c
diff -u src/sys/compat/svr4_32/svr4_32_termios.c:1.17 src/sys/compat/svr4_32/svr4_32_termios.c:1.18
--- src/sys/compat/svr4_32/svr4_32_termios.c:1.17 Mon Apr 28 20:23:46 2008
+++ src/sys/compat/svr4_32/svr4_32_termios.c Fri Dec 11 08:12:18 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_32_termios.c,v 1.17 2008/04/28 20:23:46 martin Exp $ */
+/* $NetBSD: svr4_32_termios.c,v 1.18 2015/12/11 08:12:18 mlelstv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_termios.c,v 1.17 2008/04/28 20:23:46 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_termios.c,v 1.18 2015/12/11 08:12:18 mlelstv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -183,7 +183,7 @@ bsd_to_svr4_32_speed(u_long sp, u_long m
{
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);