[systemd-devel] [PATCH] missing: memfd_create takes unsigned int flags in final version
Daniel Mack
daniel at zonque.org
Tue Sep 16 12:46:40 PDT 2014
On 09/16/2014 07:17 PM, Cristian Rodríguez wrote:
> ---
> src/shared/missing.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
>
Applied, thanks!
More information about the systemd-devel
mailing list