fix uninitialized mode variable in openat function
[musl] / src / fcntl / posix_fadvise.c
1 #include <fcntl.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 int posix_fadvise(int fd, off_t base, off_t len, int advice)
6 {
7         return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base),
8                 __SYSCALL_LL_E(len), advice);
9 }
10
11 LFS64(posix_fadvise);