HomeFreeBSD

RISC-V: Fix feenableexcept return value

Description

RISC-V: Fix feenableexcept return value

The man page says "The feenableexcept(), fedisableexcept(), and
fegetexcept() functions return a bitmap of the exceptions that were
unmasked prior to the call.", so we should return zero not -1.

Reviewed By: mhorne
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D29386

Details

Provenance
arichardsonAuthored on Mar 25 2021, 11:15 AM
Reviewer
mhorne
Differential Revision
D29386: RISC-V: Fix feenableexcept return value
Parents
rG6f30d1c85146: ng_macfilter_test: Skip rather than fail if there is no network
Branches
Unknown
Tags
Unknown