diff options
author | jkim <jkim@FreeBSD.org> | 2012-04-16 23:29:12 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-04-16 23:29:12 +0000 |
commit | c73bd7ac42a9d94a6ea0080924b122874617570b (patch) | |
tree | ab8645d52eb213e52a2ae5c5b5d934d856bd3dd1 /sys/dev | |
parent | 3b775730320ea9c88d8c7091a746322761727255 (diff) | |
download | FreeBSD-src-c73bd7ac42a9d94a6ea0080924b122874617570b.zip FreeBSD-src-c73bd7ac42a9d94a6ea0080924b122874617570b.tar.gz |
Fix a Clang warning.
Submitted by: arundel
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fb/s3_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c index cd70774..c1432e2 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; } |