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