Fix broken assertion in r329520.
Reported by: pho@ lwhsu@
This commit is contained in:
parent
123fced6e5
commit
e41b3243d5
@ -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 New Issue
Block a user