aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/s_exp2l.c')
-rw-r--r--sysdeps/stub/s_exp2l.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/stub/s_exp2l.c b/sysdeps/stub/s_exp2l.c
index 4c52fc904d..cab2cb2a69 100644
--- a/sysdeps/stub/s_exp2l.c
+++ b/sysdeps/stub/s_exp2l.c
@@ -1,10 +1,12 @@
#include <math.h>
#include <stdio.h>
+#include <errno.h>
long double
__exp2l (long double x)
{
fputs ("__exp2l not implemented\n", stderr);
+ __set_errno (ENOSYS);
return 0.0;
}
weak_alias (__exp2l, exp2l)