Module Name:    src
Committed By:   jruoho
Date:           Tue Feb 15 18:10:33 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: genfb_machdep.c

Log Message:
Fix wrong assertion logic.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/genfb_machdep.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/x86/x86/genfb_machdep.c
diff -u src/sys/arch/x86/x86/genfb_machdep.c:1.8 src/sys/arch/x86/x86/genfb_machdep.c:1.9
--- src/sys/arch/x86/x86/genfb_machdep.c:1.8	Thu Feb 10 10:21:40 2011
+++ src/sys/arch/x86/x86/genfb_machdep.c	Tue Feb 15 18:10:33 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.8 2011/02/10 10:21:40 jmcneill Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.9 2011/02/15 18:10:33 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2009 Jared D. McNeill <jmcne...@invisible.ca>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.8 2011/02/10 10:21:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.9 2011/02/15 18:10:33 jruoho Exp $");
 
 #include "opt_mtrr.h"
 
@@ -80,7 +80,7 @@
 void
 x86_genfb_set_console_dev(device_t dev)
 {
-	KASSERT(x86_genfb_console_dev != NULL);
+	KASSERT(x86_genfb_console_dev == NULL);
 	x86_genfb_console_dev = dev;
 }
 

Reply via email to