Module Name: src Committed By: rmind Date: Wed Jul 29 17:16:56 UTC 2009
Modified Files: src/sys/arch/i386/i386: trap.c Log Message: Fix KASSERT(1); To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/sys/arch/i386/i386/trap.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/arch/i386/i386/trap.c diff -u src/sys/arch/i386/i386/trap.c:1.245 src/sys/arch/i386/i386/trap.c:1.246 --- src/sys/arch/i386/i386/trap.c:1.245 Wed Jul 29 12:02:06 2009 +++ src/sys/arch/i386/i386/trap.c Wed Jul 29 17:16:56 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.245 2009/07/29 12:02:06 cegger Exp $ */ +/* $NetBSD: trap.c,v 1.246 2009/07/29 17:16:56 rmind Exp $ */ /*- * Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.245 2009/07/29 12:02:06 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.246 2009/07/29 17:16:56 rmind Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -483,7 +483,7 @@ ksi.ksi_code = BUS_ADRALN; break; default: - KASSERT(1); + KASSERT(0); break; } goto trapsignal;