summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pmadvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/pmadvise.c')
-rw-r--r--lib/libc/gen/pmadvise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/pmadvise.c b/lib/libc/gen/pmadvise.c
index 4024d64..60cef63 100644
--- a/lib/libc/gen/pmadvise.c
+++ b/lib/libc/gen/pmadvise.c
@@ -10,7 +10,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
int
-(posix_madvise)(void *address, size_t size, int how)
+posix_madvise(void *address, size_t size, int how)
{
- return posix_madvise(address, size, how);
+ return madvise(address, size, how);
}
OpenPOWER on IntegriCloud