mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 08:51:03 +01:00
Correct panic message.
MFC after: 1 month MFC with: r236731
This commit is contained in:
parent
85d4004625
commit
5d02ed91e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236812
@ -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 New Issue
Block a user