[systemd-commits] src/analyze src/core src/fstab-generator src/udev

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Wed Jan 9 12:21:36 PST 2013


 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(-)

New commits:
commit b929bf049d33823dedb1ab2e2ac688cd341792fb
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Wed Jan 9 21:03:11 2013 +0100

    tabs to spaces
    
    Skipped bootchart and various files that looked like they should be
    kept in sync with external sources.

diff --git a/src/analyze/systemd-analyze.in b/src/analyze/systemd-analyze.in
index bcced18..e964bb3 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 7dc1504..9718e43 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 5d2b010..25bc7e1 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 f3ecc24..2b67bb6 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 3c52dee..950b8ad 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];
         }



More information about the systemd-commits mailing list