diff options
author | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
commit | 73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9 (patch) | |
tree | cd23f4c8f0d180abffffaece640b7971fd1103e2 /sys/pci | |
parent | ff951279f971ed62682d7071d202a8e45e6e32a4 (diff) | |
download | FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.zip FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.tar.gz |
Add sufficient braces to keep egcs happy about potentially ambiguous
if/else nesting.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_tl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index 4ff91d5..01fefbb 100644 --- a/sys/pci/if_tl.c +++ b/sys/pci/if_tl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_tl.c,v 1.29 1999/04/24 20:14:01 peter Exp $ + * $Id: if_tl.c,v 1.30 1999/05/06 15:32:49 wpaul Exp $ */ /* @@ -221,7 +221,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_tl.c,v 1.29 1999/04/24 20:14:01 peter Exp $"; + "$Id: if_tl.c,v 1.30 1999/05/06 15:32:49 wpaul Exp $"; #endif /* @@ -1411,10 +1411,10 @@ static int tl_attach_phy(sc) if (sc->tl_phy_sts & PHY_BMSR_100BT4 || sc->tl_phy_sts & PHY_BMSR_100BTXHALF || - sc->tl_phy_sts & PHY_BMSR_100BTXHALF) + sc->tl_phy_sts & PHY_BMSR_100BTXHALF) { if (bootverbose) printf("10/100Mbps "); - else { + } else { media &= ~IFM_100_TX; media |= IFM_10_T; if (bootverbose) @@ -1422,10 +1422,10 @@ static int tl_attach_phy(sc) } if (sc->tl_phy_sts & PHY_BMSR_100BTXFULL || - sc->tl_phy_sts & PHY_BMSR_10BTFULL) + sc->tl_phy_sts & PHY_BMSR_10BTFULL) { if (bootverbose) printf("full duplex "); - else { + } else { if (bootverbose) printf("half duplex "); media &= ~IFM_FDX; |