From c7d20c39f95c0b7c34b0bbce9cb5ed4ceab51755 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 15 Jan 2003 21:38:22 +0000 Subject: [PATCH] Fix typo - make it compile with DIAGNOSTIC. --- sys/dev/pci/machfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/machfb.c b/sys/dev/pci/machfb.c index 7f20b3565d0e..f9ebb168bc71 100644 --- a/sys/dev/pci/machfb.c +++ b/sys/dev/pci/machfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: machfb.c,v 1.10 2002/12/11 05:49:34 junyoung Exp $ */ +/* $NetBSD: machfb.c,v 1.11 2003/01/15 21:38:22 martin Exp $ */ /* * Copyright (c) 2002 Bang Jun-Young @@ -1088,7 +1088,7 @@ mach64_switch_screen(struct mach64_softc *sc) if (oldscr) { if (!oldscr->active) panic("mach64_switch_screen: not active"); - if (oldscr->type != vc->currenttype) + if (oldscr->type != sc->currenttype) panic("mach64_switch_screen: bad type"); } #endif