summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-01-09 21:03:11 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-01-09 21:20:43 +0100
commitb929bf049d33823dedb1ab2e2ac688cd341792fb (patch)
treef41eb09c2a65802f9e8d98ab3cdcbfa44872e9bc /src
parent99f861310d3f05f4e86cb9582a94b891dbb3382b (diff)
tabs to spaces
Skipped bootchart and various files that looked like they should be kept in sync with external sources.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/analyze/systemd-analyze.in6
-rw-r--r--src/core/execute.c2
-rw-r--r--src/core/mount.c6
-rw-r--r--src/fstab-generator/fstab-generator.c4
-rw-r--r--src/udev/scsi_id/scsi_serial.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/src/analyze/systemd-analyze.in b/src/analyze/systemd-analyze.in
index bcced18c2c..e964bb3367 100755
--- a/src/analyze/systemd-analyze.in
+++ b/src/analyze/systemd-analyze.in
@@ -322,7 +322,7 @@ else:
bus = Gio.BusType.SYSTEM
verb = {'time' : time,
- 'blame': blame,
- 'plot' : plot,
- }
+ 'blame': blame,
+ 'plot' : plot,
+ }
verb.get(args.action)()
diff --git a/src/core/execute.c b/src/core/execute.c
index 7dc15044b4..9718e43a70 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1827,7 +1827,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
prefix, c->cpu_sched_priority,
prefix, yes_no(c->cpu_sched_reset_on_fork));
free(policy_str);
- }
+ }
if (c->cpuset) {
fprintf(f, "%sCPUAffinity:", prefix);
diff --git a/src/core/mount.c b/src/core/mount.c
index 5d2b010013..25bc7e197a 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -717,9 +717,9 @@ static void mount_set_state(Mount *m, MountState state) {
state == MOUNT_UNMOUNTING_SIGTERM ||
state == MOUNT_UNMOUNTING_SIGKILL ||
state == MOUNT_FAILED) {
- if (state != old_state)
- mount_notify_automount(m, -ENODEV);
- }
+ if (state != old_state)
+ mount_notify_automount(m, -ENODEV);
+ }
if (state != old_state)
log_debug_unit(UNIT(m)->id,
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index f3ecc24be6..2b67bb612d 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -451,8 +451,8 @@ static int parse_new_root_from_proc_cmdline(void) {
if (!opts || !type)
return log_oom();
- /* root= and roofstype= may occur more than once, the last instance should take precedence.
- * In the case of multiple rootflags= the arguments should be concatenated */
+ /* root= and roofstype= may occur more than once, the last instance should take precedence.
+ * In the case of multiple rootflags= the arguments should be concatenated */
FOREACH_WORD_QUOTED(w, l, line, state) {
char *word, *tmp_word;
diff --git a/src/udev/scsi_id/scsi_serial.c b/src/udev/scsi_id/scsi_serial.c
index 3c52dee62d..950b8adc0a 100644
--- a/src/udev/scsi_id/scsi_serial.c
+++ b/src/udev/scsi_id/scsi_serial.c
@@ -799,7 +799,7 @@ static int do_scsi_page80_inquiry(struct udev *udev,
ser_ind = prepend_vendor_model(udev, dev_scsi, &serial[1]);
if (ser_ind < 0)
return 1;
- ser_ind++; /* for the leading 'S' */
+ ser_ind++; /* for the leading 'S' */
for (i = 4; i < len + 4; i++, ser_ind++)
serial[ser_ind] = buf[i];
}