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