X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Fmissing.h;h=b441149945ec32c0a8bb55da59186f9c34cab1e2;hb=06b7f7bd7fa8cde840dd693c7a68dbd954c119ec;hp=023c680ec66dfb97ccb016b2122a5de3507b51c6;hpb=04d180c8a8641c209eb19d1210b5d4e36f0ae05b;p=elogind.git diff --git a/src/shared/missing.h b/src/shared/missing.h index 023c680ec..b44114994 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -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