Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/fpu - add missing default from FreeBSD



details:   https://anonhg.NetBSD.org/src/rev/edad411692bb
branches:  trunk
changeset: 349931:edad411692bb
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Dec 28 10:30:04 2016 +0000

description:
- add missing default from FreeBSD
- remove duplicate panic pointed out by matt

diffstat:

 sys/arch/powerpc/fpu/fpu_explode.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b5250ff668df -r edad411692bb sys/arch/powerpc/fpu/fpu_explode.c
--- a/sys/arch/powerpc/fpu/fpu_explode.c        Wed Dec 28 10:04:53 2016 +0000
+++ b/sys/arch/powerpc/fpu/fpu_explode.c        Wed Dec 28 10:30:04 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_explode.c,v 1.6 2005/12/11 12:18:42 christos Exp $ */
+/*     $NetBSD: fpu_explode.c,v 1.7 2016/12/28 10:30:04 rin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_explode.c,v 1.6 2005/12/11 12:18:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_explode.c,v 1.7 2016/12/28 10:30:04 rin Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -235,7 +235,7 @@
                s = fpu_dtof(fp, s, space[1]);
                break;
 
-               panic("fpu_explode");
+       default:
                panic("fpu_explode: invalid type %d", type);
        }
 



Home | Main Index | Thread Index | Old Index