To avoid using uninitialized value in the KASSERT() statement on the first iteration.
Also, do the assert under the proctree_lock, which is not critical but satisfies the invariants.
Details
Details
- Reviewers
markj jhb - Commits
- rG2e259c209f69: kern_pdwait(): print the process pointer through pd
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable