diff options
| author | maxv <maxv@NetBSD.org> | 2018-12-22 14:28:56 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2018-12-22 14:28:56 +0000 |
| commit | ae0244dfc2f9d369b56bb168e6f3d4fa4e3788f0 (patch) | |
| tree | 41d55897fff9a1e246688d6a6f255d7fa20679ee /sys/netbt | |
| parent | 4f37cd5c64a723ce80771b81b7173991c6503d38 (diff) | |
Replace M_ALIGN and MH_ALIGN by m_align.
Diffstat (limited to 'sys/netbt')
| -rw-r--r-- | sys/netbt/rfcomm_session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netbt/rfcomm_session.c b/sys/netbt/rfcomm_session.c index 40a3f4ea010..cbf03f757f5 100644 --- a/sys/netbt/rfcomm_session.c +++ b/sys/netbt/rfcomm_session.c @@ -1,4 +1,4 @@ -/* $NetBSD: rfcomm_session.c,v 1.24 2018/09/03 16:29:36 riastradh Exp $ */ +/* $NetBSD: rfcomm_session.c,v 1.25 2018/12/22 14:28:57 maxv Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rfcomm_session.c,v 1.24 2018/09/03 16:29:36 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rfcomm_session.c,v 1.25 2018/12/22 14:28:57 maxv Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -1564,7 +1564,7 @@ rfcomm_session_send_uih(struct rfcomm_session *rs, struct rfcomm_dlc *dlc, if (m0 == NULL) goto nomem; - MH_ALIGN(m0, 5); /* (max 5 header octets) */ + m_align(m0, 5); /* (max 5 header octets) */ hdr = mtod(m0, uint8_t *); /* CR bit is set according to the initiator of the session */ |
