summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-02-10 22:58:05 +0000
committerdlg <dlg@openbsd.org>2019-02-10 22:58:05 +0000
commite7e1c6a1db58d62ea801eb755f4def05f8c89daf (patch)
tree3e51f7ca761d1a263d543442f0645b25488b9459 /sys
parentrevert revert revert. there are many other archs that use custom allocs. (diff)
downloadwireguard-openbsd-e7e1c6a1db58d62ea801eb755f4def05f8c89daf.tar.xz
wireguard-openbsd-e7e1c6a1db58d62ea801eb755f4def05f8c89daf.zip
assign the m_prepend result to the right variable.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_mpw.c4
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;