summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2014-09-16 14:17:01 -0300
committerDaniel Mack <daniel@zonque.org>2014-09-16 21:46:14 +0200
commit06b7f7bd7fa8cde840dd693c7a68dbd954c119ec (patch)
tree0fd06065b2ea2b06fd976aa39c7c0d02fb423acc /src
parent9169b9a8cc43046f92a4c5c85b0b3fe9ca0fb429 (diff)
missing: memfd_create takes unsigned int flags in final version
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h2
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