From: Topi Miettinen Date: Thu, 1 Jan 2015 17:40:07 +0000 (+0200) Subject: Type of mount(2) flags is unsigned long X-Git-Tag: v219~720 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e65476622db43f7b9c413009072fc9603b8d6ba4 Type of mount(2) flags is unsigned long --- diff --git a/src/core/namespace.c b/src/core/namespace.c index 5b408e06a..4b8dbdd0d 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -422,7 +422,7 @@ int setup_namespace( bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, - unsigned mount_flags) { + unsigned long mount_flags) { BindMount *m, *mounts = NULL; unsigned n; diff --git a/src/core/namespace.h b/src/core/namespace.h index 1f9d0676b..42b92e780 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -50,7 +50,7 @@ int setup_namespace(char **read_write_dirs, bool private_dev, ProtectHome protect_home, ProtectSystem protect_system, - unsigned mount_flags); + unsigned long mount_flags); int setup_tmp_dirs(const char *id, char **tmp_dir,