Module Name:    src
Committed By:   matt
Date:           Wed Jan 26 01:02:46 UTC 2011

Modified Files:
        src/sys/lib/libkern: libkern.h

Log Message:
Fix KDASSERTMSG defintions for !DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/lib/libkern/libkern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/libkern.h
diff -u src/sys/lib/libkern/libkern.h:1.95 src/sys/lib/libkern/libkern.h:1.96
--- src/sys/lib/libkern/libkern.h:1.95	Mon Jan 24 22:53:07 2011
+++ src/sys/lib/libkern/libkern.h	Wed Jan 26 01:02:46 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: libkern.h,v 1.95 2011/01/24 22:53:07 matt Exp $	*/
+/*	$NetBSD: libkern.h,v 1.96 2011/01/26 01:02:46 matt Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -222,11 +222,11 @@
 
 #ifndef DEBUG
 #ifdef lint
-#define	KDASSERT(e)	/* NOTHING */
-#define	KDASSERTMSG(e)	/* NOTHING */
+#define	KDASSERTMSG(e,msg)	/* NOTHING */
+#define	KDASSERT(e)		/* NOTHING */
 #else /* lint */
-#define	KDASSERT(e)	((void)0)
-#define	KDASSERTMSG(e)	((void)0)
+#define	KDASSERTMSG(e,msg)	((void)0)
+#define	KDASSERT(e)		((void)0)
 #endif /* lint */
 #else
 #define	KDASSERTMSG(e, msg) do {	\

Reply via email to