Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc PR/50516: David Binderman: Add missing ...



details:   https://anonhg.NetBSD.org/src/rev/6106cdd7c03a
branches:  trunk
changeset: 342257:6106cdd7c03a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 13 19:49:34 2015 +0000

description:
PR/50516: David Binderman: Add missing breaks

diffstat:

 sys/arch/sparc/sparc/trap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 46e448ccff06 -r 6106cdd7c03a sys/arch/sparc/sparc/trap.c
--- a/sys/arch/sparc/sparc/trap.c       Sun Dec 13 19:47:08 2015 +0000
+++ b/sys/arch/sparc/sparc/trap.c       Sun Dec 13 19:49:34 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.194 2015/12/11 08:08:01 mlelstv Exp $ */
+/*     $NetBSD: trap.c,v 1.195 2015/12/13 19:49:34 christos Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.194 2015/12/11 08:08:01 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.195 2015/12/13 19:49:34 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_svr4.h"
@@ -960,9 +960,11 @@
                case EINVAL:
                        ksi.ksi_signo = SIGBUS;
                        ksi.ksi_code = BUS_ADRERR;
+                       break;
                case EACCES:
                        ksi.ksi_signo = SIGSEGV;
                        ksi.ksi_code = SEGV_ACCERR;
+                       break;
                default:
                        ksi.ksi_signo = SIGSEGV;
                        ksi.ksi_code = SEGV_MAPERR;



Home | Main Index | Thread Index | Old Index