summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/delete_module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c
index bb6744c80..10835aa5c 100644
--- a/libc/sysdeps/linux/common/delete_module.c
+++ b/libc/sysdeps/linux/common/delete_module.c
@@ -7,11 +7,11 @@
*/
#include <sys/syscall.h>
-int delete_module(const char *name);
+int delete_module(const char *name, unsigned int flags);
#ifdef __NR_delete_module
-_syscall1(int, delete_module, const char *, name);
+_syscall2(int, delete_module, const char *, name, unsigned int, flags);
#elif defined __UCLIBC_HAS_STUBS__
-int delete_module(const char *name)
+int delete_module(const char *name, unsigned int flags)
{
__set_errno(ENOSYS);
return -1;