about summary refs log tree commit diff
path: root/sysdeps/stub/k_tanl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/k_tanl.c')
-rw-r--r--sysdeps/stub/k_tanl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/stub/k_tanl.c b/sysdeps/stub/k_tanl.c
index 713c8cdfe6..95ffc23bd9 100644
--- a/sysdeps/stub/k_tanl.c
+++ b/sysdeps/stub/k_tanl.c
@@ -1,10 +1,12 @@
 #include <math.h>
 #include <stdio.h>
+#include <errno.h>
 
 long double
 __kernel_tanl (long double x, long double y, int iy)
 {
   fputs ("__kernel_tanl not implemented\n", stderr);
+  __set_errno (ENOSYS);
   return 0.0;
 }