aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fb/s3_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c
index cd70774f9500..c1432e2f005d 100644
--- a/sys/dev/fb/s3_pci.c
+++ b/sys/dev/fb/s3_pci.c
@@ -513,7 +513,7 @@ s3pci_attach(device_t dev)
/* Attach the driver to the VGA/VESA framework
*/
for (i = 0; (adp = vid_get_adapter(i)) != NULL; ++i) {
- if ((adp->va_type == KD_VGA))
+ if (adp->va_type == KD_VGA)
break;
}