aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/w_scalbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/w_scalbl.c')
-rw-r--r--sysdeps/libm-ieee754/w_scalbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/w_scalbl.c b/sysdeps/libm-ieee754/w_scalbl.c
index ff5117d24c..3ca8d9601d 100644
--- a/sysdeps/libm-ieee754/w_scalbl.c
+++ b/sysdeps/libm-ieee754/w_scalbl.c
@@ -57,7 +57,7 @@ static char rcsid[] = "$NetBSD: $";
return __kernel_standard(x,(double)fn,233); /* scalb underflow */
}
#ifndef _SCALB_INT
- if(!__finitel(fn)) errno = ERANGE;
+ if(!__finitel(fn)) __set_errno (ERANGE);
#endif
return z;
#endif