Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/bios fix typo which made textmode check always...



details:   https://anonhg.NetBSD.org/src/rev/c6114fe19c8f
branches:  trunk
changeset: 534055:c6114fe19c8f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sun Jul 14 13:56:20 2002 +0000

description:
fix typo which made textmode check always succeed

diffstat:

 sys/arch/i386/bios/vesabios.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2b87a06c7c9f -r c6114fe19c8f sys/arch/i386/bios/vesabios.c
--- a/sys/arch/i386/bios/vesabios.c     Sun Jul 14 13:55:38 2002 +0000
+++ b/sys/arch/i386/bios/vesabios.c     Sun Jul 14 13:56:20 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vesabios.c,v 1.3 2002/07/11 10:02:21 drochner Exp $ */
+/* $NetBSD: vesabios.c,v 1.4 2002/07/14 13:56:20 drochner Exp $ */
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -257,7 +257,7 @@
 
                config_found(dev, &vbaa, vesabios_print);
        }
-       if (textmodes) {
+       if (ntextmodes) {
                vbaa.vbaa_type = "text";
                vbaa.vbaa_modes = textmodes;
                vbaa.vbaa_nmodes = ntextmodes;



Home | Main Index | Thread Index | Old Index