Type of mount(2) flags is unsigned long

This commit is contained in:
Topi Miettinen 2015-01-01 19:40:07 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 257e968d8c
commit e65476622d
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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,