chiark / gitweb /
fanotify: use uint64_t instead of __u64
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2010 13:49:08 +0000 (15:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2010 13:49:08 +0000 (15:49 +0200)
src/missing.h

index defe885eccb05a35d9bcacadd4a3419a03f4f3d9..539979e1bd517a19e47e06ef1c261992aaf6e30f 100644 (file)
@@ -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