chiark / gitweb /
missing: memfd_create takes unsigned int flags in final version
[elogind.git] / src / shared / missing.h
index 023c680ec66dfb97ccb016b2122a5de3507b51c6..b441149945ec32c0a8bb55da59186f9c34cab1e2 100644 (file)
@@ -209,7 +209,7 @@ static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t ma
 #endif
 
 #ifndef HAVE_MEMFD_CREATE
-static inline int memfd_create(const char *name, uint64_t flags) {
+static inline int memfd_create(const char *name, unsigned int flags) {
         return syscall(__NR_memfd_create, name, flags);
 }
 #endif