mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
fanotify: use uint64_t instead of __u64
This commit is contained in:
parent
76bf48b7d0
commit
0511502083
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user