summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorAsciiWolf <mail@asciiwolf.com>2017-02-24 18:14:02 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-24 18:14:02 +0100
commit13e785f7a0d2c78fbd822b1157ef9d7ee3fef805 (patch)
tree168c1a8cd9b6132ef15c61a302d55303e66da06d /src/shared
parentecc0eab247da25a6767ccabd2162a4d03de6ee8c (diff)
Fix missing space in comments (#5439)
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/fstab-util.c2
-rw-r--r--src/shared/machine-image.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/fstab-util.c b/src/shared/fstab-util.c
index 87b520b540..c3106f1ae9 100644
--- a/src/shared/fstab-util.c
+++ b/src/shared/fstab-util.c
@@ -213,7 +213,7 @@ static char *unquote(const char *s, const char* quotes) {
* trailing quotes if there is one. Doesn't care about
* escaping or anything.
*
- * DON'T USE THIS FOR NEW CODE ANYMORE!*/
+ * DON'T USE THIS FOR NEW CODE ANYMORE! */
l = strlen(s);
if (l < 2)
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c
index d96ff44e66..32a4c67590 100644
--- a/src/shared/machine-image.c
+++ b/src/shared/machine-image.c
@@ -636,7 +636,7 @@ int image_clone(Image *i, const char *new_name, bool read_only) {
case IMAGE_SUBVOLUME:
case IMAGE_DIRECTORY:
/* If we can we'll always try to create a new btrfs subvolume here, even if the source is a plain
- * directory.*/
+ * directory. */
new_path = strjoina("/var/lib/machines/", new_name);
@@ -712,7 +712,7 @@ int image_read_only(Image *i, bool b) {
use the "immutable" flag, to at least make the
top-level directory read-only. It's not as good as
a read-only subvolume, but at least something, and
- we can read the value back.*/
+ we can read the value back. */
r = chattr_path(i->path, b ? FS_IMMUTABLE_FL : 0, FS_IMMUTABLE_FL);
if (r < 0)