mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Assign pointer NULL, not 0.
Approved by: julian (mentor)
This commit is contained in:
parent
5d3544e59d
commit
570343bfec
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ tunwrite(struct cdev *dev, struct uio *uio, int flag)
|
|||
return (ENOBUFS);
|
||||
mlen = MHLEN;
|
||||
|
||||
top = 0;
|
||||
top = NULL;
|
||||
mp = ⊤
|
||||
while (error == 0 && uio->uio_resid > 0) {
|
||||
m->m_len = min(mlen, uio->uio_resid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue