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