[systemd-commits] src/shared

Daniel Mack zonque at kemper.freedesktop.org
Tue Sep 16 12:46:25 PDT 2014


 src/shared/missing.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 06b7f7bd7fa8cde840dd693c7a68dbd954c119ec
Author: Cristian Rodríguez <crrodriguez at opensuse.org>
Date:   Tue Sep 16 14:17:01 2014 -0300

    missing: memfd_create takes unsigned int flags in final version

diff --git a/src/shared/missing.h b/src/shared/missing.h
index 023c680..b441149 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



More information about the systemd-commits mailing list