From 55fe74327373e7b8e35fe59884825ea68fdab157 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 14 Feb 2018 13:29:13 +0900 Subject: [PATCH] core/namespace: fix comment --- src/core/namespace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/namespace.c b/src/core/namespace.c index 4e143fd8afe..058b691a4a6 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -73,7 +73,7 @@ typedef struct MountEntry { bool ignore:1; /* Ignore if path does not exist? */ bool has_prefix:1; /* Already is prefixed by the root dir? */ bool read_only:1; /* Shall this mount point be read-only? */ - char *path_malloc; /* Use this instead of 'path' if we had to allocate memory */ + char *path_malloc; /* Use this instead of 'path_const' if we had to allocate memory */ const char *source_const; /* The source path, for bind mounts */ char *source_malloc; } MountEntry; @@ -1254,7 +1254,7 @@ int setup_namespace( goto finish; } - /* Remount / as the desired mode. Not that this will not + /* Remount / as the desired mode. Note that this will not * reestablish propagation from our side to the host, since * what's disconnected is disconnected. */ if (mount(NULL, "/", NULL, mount_flags | MS_REC, NULL) < 0) { -- 2.47.3