diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2014-09-16 14:17:01 -0300 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-09-16 21:46:14 +0200 |
commit | 06b7f7bd7fa8cde840dd693c7a68dbd954c119ec (patch) | |
tree | 0fd06065b2ea2b06fd976aa39c7c0d02fb423acc | |
parent | 9169b9a8cc43046f92a4c5c85b0b3fe9ca0fb429 (diff) |
missing: memfd_create takes unsigned int flags in final version
-rw-r--r-- | src/shared/missing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h index 023c680ec6..b441149945 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 |