HomeFreeBSD

Fix logic error in the the assert, causing the condition to be always true.

Description

Fix logic error in the the assert, causing the condition to be always true.

Also improve the formatting of the corresponding KASSERT message.

Based on the submission by: Svyatoslav <razmyslov@viva64.com>
Found by: PVS-Studio
PR: 217741
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation (kib)
MFC after: 1 week

Details

Provenance
kibAuthored on
Reviewer
emaste
Parents
rS322255: tests/sys/netinet/fibs_test: skip selected tests when firewalls are enabled
Branches
Unknown
Tags
Unknown