Browse Source

- delete_module() takes two arguments on linux-2.6
Closes #5644

Bernhard Reutner-Fischer 16 years ago
parent
commit
28c95476b8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      libc/sysdeps/linux/common/delete_module.c

+ 3 - 3
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;