summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2015-01-01 19:40:07 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-01 14:39:17 -0500
commite65476622db43f7b9c413009072fc9603b8d6ba4 (patch)
tree7d6a6876be9e705eec48e20e86085faf84458e61 /src
parent257e968d8c726e1a7be7b455d0e6ad29b5d0756c (diff)
Type of mount(2) flags is unsigned long
Diffstat (limited to 'src')
-rw-r--r--src/core/namespace.c2
-rw-r--r--src/core/namespace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 5b408e06ac..4b8dbdd0d8 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 1f9d0676b4..42b92e7803 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,