summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/delete_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/delete_module.c')
-rw-r--r--libc/sysdeps/linux/common/delete_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c
index a93921411..bb6744c80 100644
--- a/libc/sysdeps/linux/common/delete_module.c
+++ b/libc/sysdeps/linux/common/delete_module.c
@@ -10,7 +10,7 @@
int delete_module(const char *name);
#ifdef __NR_delete_module
_syscall1(int, delete_module, const char *, name);
-#else
+#elif defined __UCLIBC_HAS_STUBS__
int delete_module(const char *name)
{
__set_errno(ENOSYS);