summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-03-16 08:58:28 +0000
committerglebius <glebius@FreeBSD.org>2013-03-16 08:58:28 +0000
commitf4837a2e6313ecc34b76db756f9488926534b3d9 (patch)
treee728415090137c98d817cc542a70d905c0fdaa15 /sys/netinet/tcp_output.c
parent9edd6e11740d739eabb503b17a6aeb26168b8f71 (diff)
downloadFreeBSD-src-f4837a2e6313ecc34b76db756f9488926534b3d9.zip
FreeBSD-src-f4837a2e6313ecc34b76db756f9488926534b3d9.tar.gz
- Replace compat macros with function calls.
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index e291bb3..bcfed8a 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -898,7 +898,7 @@ send:
else
TCPSTAT_INC(tcps_sndwinup);
- MGETHDR(m, M_NOWAIT, MT_DATA);
+ m = m_gethdr(M_NOWAIT, MT_DATA);
if (m == NULL) {
error = ENOBUFS;
goto out;
OpenPOWER on IntegriCloud