fix KASSERT usage
This commit is contained in:
parent
59f577ad8c
commit
60ed92ddd3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61181
@ -247,7 +247,7 @@ if_simloop(ifp, m, af, hlen)
|
||||
/* The alpha doesn't like unaligned data.
|
||||
* We move data down in the first mbuf */
|
||||
if (mtod(m, vm_offset_t) & 3) {
|
||||
KASSERT(hlen >= 3, "if_simloop: hlen too small");
|
||||
KASSERT(hlen >= 3, ("if_simloop: hlen too small"));
|
||||
bcopy(m->m_data,
|
||||
(char *)(mtod(m, vm_offset_t)
|
||||
- (mtod(m, vm_offset_t) & 3)),
|
||||
|
Loading…
Reference in New Issue
Block a user