Commit 05115020 authored by Lennart Poettering's avatar Lennart Poettering

fanotify: use uint64_t instead of __u64

parent 76bf48b7
......@@ -93,12 +93,12 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
#endif
static inline int fanotify_init(unsigned int flags, unsigned int event_f_flags) {
return syscall(__NR_fanotify_init, flags, event_f_flags);
return syscall(__NR_fanotify_init, flags, event_f_flags);
}
static inline int fanotify_mark(int fanotify_fd, unsigned int flags, __u64 mask,
static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask,
int dfd, const char *pathname) {
return syscall(__NR_fanotify_mark, fanotify_fd, flags, mask, dfd, pathname);
return syscall(__NR_fanotify_mark, fanotify_fd, flags, mask, dfd, pathname);
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment