From 1b9933e5c81bfd994c9581fad603b04a2e8176a1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 23 Oct 2004 05:14:34 +0000 Subject: add missing braces, noticed by mcbride@ --- sys/dev/ic/xl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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)) { -- cgit v1.2.3