summaryrefslogtreecommitdiff
path: root/src/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespace.c')
-rw-r--r--src/namespace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namespace.c b/src/namespace.c
index 09bcaff968..9e964c5b8f 100644
--- a/src/namespace.c
+++ b/src/namespace.c
@@ -151,6 +151,9 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
case PRIVATE:
what = private_dir;
break;
+
+ default:
+ assert_not_reached("Unknown mode");
}
if ((r = mount(what, where, NULL, MS_BIND|MS_REC, NULL)) >= 0) {