From 28c95476b8fd6e1cfcc80527767d425f503372b1 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 22 Oct 2008 08:47:03 +0000 Subject: - delete_module() takes two arguments on linux-2.6 Closes #5644 --- libc/sysdeps/linux/common/delete_module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc') 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 -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; -- cgit v1.2.3