mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct panic message.
MFC after: 1 month MFC with: r236731
This commit is contained in:
parent
85d4004625
commit
5d02ed91e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1554,7 +1554,7 @@ fdalloc(struct thread *td, int minfd, int *result)
|
|||
*/
|
||||
KASSERT(!fdisused(fdp, fd),
|
||||
("fd_first_free() returned non-free descriptor"));
|
||||
KASSERT(fdp->fd_ofiles[fd] == NULL, ("free descriptor isn't"));
|
||||
KASSERT(fdp->fd_ofiles[fd] == NULL, ("file descriptor isn't free"));
|
||||
KASSERT(fdp->fd_ofileflags[fd] == 0, ("file flags are set"));
|
||||
fdused(fdp, fd);
|
||||
*result = fd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue