Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/w_log10.c')
-rw-r--r--newlib/libm/math/w_log10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/w_log10.c b/newlib/libm/math/w_log10.c
index 7c3966954..66f0e78d1 100644
--- a/newlib/libm/math/w_log10.c
+++ b/newlib/libm/math/w_log10.c
@@ -93,7 +93,7 @@ PORTABILITY
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!matherr(&exc)) {
- errno = EDOM;
+ errno = ERANGE;
}
} else {
/* log10(x<0) */