diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-10 22:58:06 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-10 22:58:06 +0000 |
commit | e9e2d26d9e5b57a7e7dba2206f8be3760e01c99b (patch) | |
tree | 258fa0e015b569981750f9b0736ffb7ef4be3219 | |
parent | 3cd508007d20acf1d47efdc64a737ba3601f7ff2 (diff) |
assign the m_prepend result to the right variable.
-rw-r--r-- | sys/net/if_mpw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_mpw.c b/sys/net/if_mpw.c index a3825e7f7f0..2bc7104d04f 100644 --- a/sys/net/if_mpw.c +++ b/sys/net/if_mpw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mpw.c,v 1.31 2019/01/30 01:09:36 dlg Exp $ */ +/* $OpenBSD: if_mpw.c,v 1.32 2019/02/10 22:58:05 dlg Exp $ */ /* * Copyright (c) 2015 Rafael Zalamena <rzalamena@openbsd.org> @@ -390,7 +390,7 @@ mpw_start(struct ifnet *ifp) memset(shim, 0, sizeof(*shim)); } - m = m_prepend(m0, sizeof(*shim), M_NOWAIT); + m0 = m_prepend(m0, sizeof(*shim), M_NOWAIT); if (m0 == NULL) continue; |