mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
Fix broken assertion in r329520.
Reported by: pho@ lwhsu@
This commit is contained in:
parent
c5fe9c7b20
commit
965cd21173
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ cap_ioctl_check(struct filedesc *fdp, int fd, u_long cmd)
|
|||
("%s: invalid fd=%d", __func__, fd));
|
||||
|
||||
fdep = fdeget_locked(fdp, fd);
|
||||
KASSERT(fdep == NULL,
|
||||
KASSERT(fdep != NULL,
|
||||
("%s: invalid fd=%d", __func__, fd));
|
||||
|
||||
ncmds = fdep->fde_nioctls;
|
||||
|
|
|
|||
Loading…
Reference in a new issue