HomeFreeBSD

bhyve: avoid side effect in assertion

Description

bhyve: avoid side effect in assertion

An assert() was setting the error variable instead of checking it.

Reported by: Coverity Scan
CID: 1521431
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Pull Request: https://github.com/freebsd/freebsd-src/pull/1244

Details

Provenance
khorben_defora.orgAuthored on May 17 2024, 7:31 AM
emasteCommitted on May 17 2024, 7:45 PM
Parents
rG25db7bd2fac1: libgcc_s: fix nonsense defines
Branches
Unknown
Tags
Unknown