[systemd-devel] [PATCH] Type of mount(2) flags is unsigned long
Topi Miettinen
toiwoton at gmail.com
Thu Jan 1 09:40:07 PST 2015
Signed-off-by: Topi Miettinen <toiwoton at gmail.com>
---
src/core/namespace.c | 2 +-
src/core/namespace.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 400bc50..19a7590 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 1f9d067..42b92e7 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,
--
2.1.4
More information about the systemd-devel
mailing list