Source-Changes-HG archive

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

[src/rmind-uvmplock]: src/sys/lib/libkern Pull-up rev 1.94



details:   https://anonhg.NetBSD.org/src/rev/540b7f64bb07
branches:  rmind-uvmplock
changeset: 753050:540b7f64bb07
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sun Apr 25 15:51:38 2010 +0000

description:
Pull-up rev 1.94

diffstat:

 sys/lib/libkern/libkern.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 36fa2ed07121 -r 540b7f64bb07 sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Sun Apr 25 15:47:52 2010 +0000
+++ b/sys/lib/libkern/libkern.h Sun Apr 25 15:51:38 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libkern.h,v 1.93 2010/01/19 22:28:30 pooka Exp $       */
+/*     $NetBSD: libkern.h,v 1.93.4.1 2010/04/25 15:51:38 rmind Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -208,7 +208,7 @@
 #else /* DIAGNOSTIC */
 #define _DIAGASSERT(a) assert(a)
 #define        KASSERTMSG(e, msg) do {         \
-       if (__predict_false((e)))       \
+       if (__predict_false(!(e)))      \
                panic msg;              \
        } while (/*CONSTCOND*/ 0)
 #ifdef __STDC__



Home | Main Index | Thread Index | Old Index