summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-06 00:31:09 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-06 00:44:19 +0200
commit7d6884b65e6ea7317346d29bc2f6c9ba051a0cac (patch)
treea887c3b285cacf9102ce14d82ffa0948643dd0b9 /src/core
parent511d2ffc8cc4e6c6b528aa96c4096f57bc52226e (diff)
tree-wide: fix indentation
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-cgroup.c4
-rw-r--r--src/core/execute.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c
index 4a9df06016..9dcc51f240 100644
--- a/src/core/dbus-cgroup.c
+++ b/src/core/dbus-cgroup.c
@@ -433,9 +433,9 @@ int bus_cgroup_set_property(
if (!f)
return -ENOMEM;
- if (read) {
+ if (read) {
fputs("BlockIOReadBandwidth=\n", f);
- LIST_FOREACH(device_bandwidths, a, c->blockio_device_bandwidths)
+ LIST_FOREACH(device_bandwidths, a, c->blockio_device_bandwidths)
if (a->read)
fprintf(f, "BlockIOReadBandwidth=%s %" PRIu64 "\n", a->path, a->bandwidth);
} else {
diff --git a/src/core/execute.c b/src/core/execute.c
index f14ae4d8a6..125cb0dbd4 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -2211,7 +2211,7 @@ int exec_context_load_environment(Unit *unit, const ExecContext *c, char ***l) {
static bool tty_may_match_dev_console(const char *tty) {
_cleanup_free_ char *active = NULL;
- char *console;
+ char *console;
if (startswith(tty, "/dev/"))
tty += 5;