summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-06 01:12:05 +0200
committerDaniel Mack <github@zonque.org>2015-08-06 01:12:05 +0200
commitc2f147382d8ad174dae0a9b60088807a07dc6415 (patch)
treea887c3b285cacf9102ce14d82ffa0948643dd0b9 /src/tmpfiles/tmpfiles.c
parent511d2ffc8cc4e6c6b528aa96c4096f57bc52226e (diff)
parent7d6884b65e6ea7317346d29bc2f6c9ba051a0cac (diff)
Merge pull request #882 from phomes/indentation
tree-wide: fix indentation
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 271984b5a8..d6f7801561 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -616,7 +616,7 @@ static int path_set_perms(Item *i, const char *path) {
if (!(st.st_mode & 0111))
m &= ~0111;
if (!(st.st_mode & 0222))
- m &= ~0222;
+ m &= ~0222;
if (!(st.st_mode & 0444))
m &= ~0444;
if (!S_ISDIR(st.st_mode))
@@ -641,7 +641,7 @@ static int path_set_perms(Item *i, const char *path) {
if (chown(fn,
i->uid_set ? i->uid : UID_INVALID,
i->gid_set ? i->gid : GID_INVALID) < 0)
- return log_error_errno(errno, "chown(%s) failed: %m", path);
+ return log_error_errno(errno, "chown(%s) failed: %m", path);
}
}