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