From b929bf049d33823dedb1ab2e2ac688cd341792fb Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 9 Jan 2013 21:03:11 +0100 Subject: [PATCH] tabs to spaces Skipped bootchart and various files that looked like they should be kept in sync with external sources. --- src/analyze/systemd-analyze.in | 6 +++--- src/core/execute.c | 2 +- src/core/mount.c | 6 +++--- src/fstab-generator/fstab-generator.c | 4 ++-- src/udev/scsi_id/scsi_serial.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/analyze/systemd-analyze.in b/src/analyze/systemd-analyze.in index bcced18c2..e964bb336 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 7dc15044b..9718e43a7 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 5d2b01001..25bc7e197 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 f3ecc24be..2b67bb612 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 3c52dee62..950b8adc0 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]; } -- 2.30.2