From: Yu Watanabe Date: Wed, 14 Feb 2018 04:29:13 +0000 (+0900) Subject: core/namespace: fix comment X-Git-Tag: v238~79^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55fe74327373e7b8e35fe59884825ea68fdab157;p=thirdparty%2Fsystemd.git core/namespace: fix comment --- 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) {