summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2019-04-01 06:01:08 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2019-04-01 06:01:08 +0000
commit27366776e093c0be35643910b870557028c751b5 (patch)
treeb234752fecb61d3e19c86951f303a663bc1730c4 /sys
parent58019f37df6aa5b1d230f9dd3940a0c57b72d16f (diff)
repair "} if" from an ancient merge error; ok deraadt@ kn@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_wb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c
index 3bda4db2e8d..9ca33771bb2 100644
--- a/sys/dev/pci/if_wb.c
+++ b/sys/dev/pci/if_wb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wb.c,v 1.69 2017/07/13 17:45:00 naddy Exp $ */
+/* $OpenBSD: if_wb.c,v 1.70 2019/04/01 06:01:07 naddy Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -660,7 +660,7 @@ wb_fixmedia(sc)
if (IFM_SUBTYPE(mii->mii_media_active) == IFM_10_T) {
media = mii->mii_media_active & ~IFM_10_T;
media |= IFM_100_TX;
- } if (IFM_SUBTYPE(mii->mii_media_active) == IFM_100_TX) {
+ } else if (IFM_SUBTYPE(mii->mii_media_active) == IFM_100_TX) {
media = mii->mii_media_active & ~IFM_100_TX;
media |= IFM_10_T;
} else