summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-22 08:47:03 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-22 08:47:03 +0000
commit28c95476b8fd6e1cfcc80527767d425f503372b1 (patch)
treef077bc5135aafe13d2316183204b58aabff38481
parent4dbb356fb569364d2100924369802930cf65618d (diff)
- delete_module() takes two arguments on linux-2.6
Closes #5644
-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;