summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fb/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c
index 485b074..f81acc6 100644
--- a/sys/dev/fb/vga.c
+++ b/sys/dev/fb/vga.c
@@ -1174,7 +1174,7 @@ probe_adapters(void)
}
/* remove conflicting modes if we have more than one adapter */
- if (biosadapters > 1) {
+ if (biosadapters > 0) {
for (i = 0; i < biosadapters; ++i) {
if (!(biosadapter[i].va_flags & V_ADP_MODECHANGE))
continue;
OpenPOWER on IntegriCloud