diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-10-23 05:14:34 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-10-23 05:14:34 +0000 |
commit | 1b9933e5c81bfd994c9581fad603b04a2e8176a1 (patch) | |
tree | 832da7033e93b1e830891e7bdc81bb7ad5b3931b /sys/dev | |
parent | b1c81e36c54c4e852fec39b886d174970a87fffc (diff) |
add missing braces, noticed by mcbride@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/xl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index 62f24c926eb..6860bed48a5 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.58 2004/10/23 05:12:55 brad Exp $ */ +/* $OpenBSD: xl.c,v 1.59 2004/10/23 05:14:33 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1709,9 +1709,10 @@ reload: struct mbuf *m_new = NULL; MGETHDR(m_new, M_DONTWAIT, MT_DATA); - if (m_new == NULL) + if (m_new == NULL) { m_freem(m_head); return(1); + } if (m_head->m_pkthdr.len > MHLEN) { MCLGET(m_new, M_DONTWAIT); if (!(m_new->m_flags & M_EXT)) { |