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/dev/lnc | |
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/dev/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index b02c065..c102444 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.56 1999/04/18 01:37:19 paul Exp $ + * $Id: if_lnc.c,v 1.57 1999/04/18 01:49:16 paul Exp $ */ /* @@ -1708,13 +1708,13 @@ lnc_start(struct ifnet *ifp) */ - if (no_entries_needed > (NDESC(sc->ntdre) - sc->pending_transmits)) + if (no_entries_needed > (NDESC(sc->ntdre) - sc->pending_transmits)) { if (!(head = chain_to_cluster(head))) { log(LOG_ERR, "lnc%d: Couldn't get mbuf for transmit packet -- Resetting \n ",ifp->if_unit); lnc_reset(sc); return; } - else if ((sc->nic.ic == LANCE) || (sc->nic.ic == C_LANCE)) { + } else if ((sc->nic.ic == LANCE) || (sc->nic.ic == C_LANCE)) { if ((head->m_len < 100) && (head->m_next)) { len = 100 - head->m_len; if (M_TRAILINGSPACE(head) < len) { |