summaryrefslogtreecommitdiff
path: root/src/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespace.c')
-rw-r--r--src/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namespace.c b/src/namespace.c
index 1d8f35ba5..54b22f494 100644
--- a/src/namespace.c
+++ b/src/namespace.c
@@ -161,11 +161,11 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
/* The bind mount will always inherit the original
* flags. If we want to set any flag we need
- * to do so in a second indepdant step. */
+ * to do so in a second independent step. */
if (flags)
r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_REC|flags, NULL);
- /* Avoid expontial growth of trees */
+ /* Avoid exponential growth of trees */
if (r >= 0 && path_equal(p->path, "/"))
r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|MS_UNBINDABLE|flags, NULL);