mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03:00
missing: memfd_create takes unsigned int flags in final version
This commit is contained in:
parent
9169b9a8cc
commit
06b7f7bd7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user