diff --git a/Userland/Libraries/LibC/fenv.cpp b/Userland/Libraries/LibC/fenv.cpp index 4116ac2270..3d84cbc48b 100644 --- a/Userland/Libraries/LibC/fenv.cpp +++ b/Userland/Libraries/LibC/fenv.cpp @@ -177,7 +177,7 @@ int fesetround(int rounding_mode) return 0; } -int feclearexcepts(int exceptions) +int feclearexcept(int exceptions) { exceptions &= FE_ALL_EXCEPT; diff --git a/Userland/Libraries/LibC/fenv.h b/Userland/Libraries/LibC/fenv.h index ef23ce9e84..11a11d9fe4 100644 --- a/Userland/Libraries/LibC/fenv.h +++ b/Userland/Libraries/LibC/fenv.h @@ -70,7 +70,7 @@ typedef uint16_t fexcept_t; int fegetexceptflag(fexcept_t*, int exceptions); int fesetexceptflag(const fexcept_t*, int exceptions); -int feclearexcepts(int exceptions); +int feclearexcept(int exceptions); int fetestexcept(int exceptions); int feraiseexcept(int exceptions);