Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/svr4_32 PR 50519 missing breaks in switch



details:   https://anonhg.NetBSD.org/src/rev/6cd8d393a213
branches:  trunk
changeset: 342187:6cd8d393a213
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Dec 11 08:12:18 2015 +0000

description:
PR 50519 missing breaks in switch

diffstat:

 sys/compat/svr4_32/svr4_32_termios.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f94a91c4ba40 -r 6cd8d393a213 sys/compat/svr4_32/svr4_32_termios.c
--- a/sys/compat/svr4_32/svr4_32_termios.c      Fri Dec 11 08:10:43 2015 +0000
+++ b/sys/compat/svr4_32/svr4_32_termios.c      Fri Dec 11 08:12:18 2015 +0000
@@ -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 @@
 {
        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);



Home | Main Index | Thread Index | Old Index