summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-23 15:49:08 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-23 15:49:08 +0200
commit0511502083378313767ec4a6b950d124528c21e4 (patch)
treeb7f101ed0c14ce5fab4f7dbc0c367ef2a8da6ca1
parent76bf48b7d09b6e22d1952ac2fa07fec8ee501b76 (diff)
fanotify: use uint64_t instead of __u64
-rw-r--r--src/missing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/missing.h b/src/missing.h
index defe885ecc..539979e1bd 100644
--- a/src/missing.h
+++ b/src/missing.h
@@ -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