Skip to content

Commit

Permalink
missing {} - freebsd only
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Feb 23, 2007
1 parent 9b75b9a commit 100460f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kame/sys/kern/uipc_mbuf2.c
@@ -1,4 +1,4 @@
/* $KAME: uipc_mbuf2.c,v 1.47 2005/04/14 06:22:37 suz Exp $ */
/* $KAME: uipc_mbuf2.c,v 1.48 2007/02/23 17:50:22 itojun Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */

/*
Expand Down Expand Up @@ -387,9 +387,10 @@ m_dup1(m, off, len, wait)
#ifdef __OpenBSD__
M_MOVE_PKTHDR(n, m);
#elif defined(__FreeBSD__)
if (!m_dup_pkthdr(n, m))
if (!m_dup_pkthdr(n, m)) {
m_free(n);
return NULL;
}
#endif
}
m_copydata(m, off, len, mtod(n, caddr_t));
Expand Down

0 comments on commit 100460f

Please sign in to comment.