chiark / gitweb /
s/seperate/separate/
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Mar 2011 02:58:52 +0000 (03:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 4 Mar 2011 02:58:52 +0000 (03:58 +0100)
README
TODO
src/main.c

diff --git a/README b/README
index aed27159809ef22867a3b160d5b6cb5a6f826a93..a1d100c6343c8db930dba796e89a355ff3a24b2f 100644 (file)
--- a/README
+++ b/README
@@ -63,7 +63,7 @@ WARNINGS:
 
         systemd will warn you during boot if /usr is on a different
         file system than /. While in systemd itself very little will
 
         systemd will warn you during boot if /usr is on a different
         file system than /. While in systemd itself very little will
-        break if /usr is on a seperate partition many of its
+        break if /usr is on a separate partition many of its
         dependencies very likely will break sooner or later in one
         form or another. For example udev rules tend to refer to
         binaries in /usr, binaries that link to libraries in /usr or
         dependencies very likely will break sooner or later in one
         form or another. For example udev rules tend to refer to
         binaries in /usr, binaries that link to libraries in /usr or
diff --git a/TODO b/TODO
index ecf9c05fa1de877125c7c45cd2b00142b4b0b6a1..14060a51122c1ac435064bb5fb17abd1c669a024 100644 (file)
--- a/TODO
+++ b/TODO
@@ -14,8 +14,6 @@ F15:
 
 * hook emergency.target into local-fs.target in some way as OnFailure with isolate
 
 
 * hook emergency.target into local-fs.target in some way as OnFailure with isolate
 
-* s/seperate/separate/
-
 Features:
 
 * introduce "x-systemd-automount" as alternative to the "comment=systemd.automount" mount option
 Features:
 
 * introduce "x-systemd-automount" as alternative to the "comment=systemd.automount" mount option
@@ -117,7 +115,7 @@ Features:
 
 * readahead: btrfs/LVM SSD detection
 
 
 * readahead: btrfs/LVM SSD detection
 
-* add seperate man page for [Install] settings
+* add separate man page for [Install] settings
 
 * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
 
 
 * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags
 
index 2c02217d89b27453b4345832b19a43b4999f99f9..cf54c7af42ef5a4493f4ecd8fdc30bc34a28648b 100644 (file)
@@ -942,22 +942,22 @@ static void test_mtab(void) {
 
 static void test_usr(void) {
         struct stat a, b;
 
 static void test_usr(void) {
         struct stat a, b;
-        bool seperate = false;
+        bool separate = false;
 
 
-        /* Check that /usr is not a seperate fs */
+        /* Check that /usr is not a separate fs */
 
         if (lstat("/", &a) >= 0 && lstat("/usr", &b) >= 0)
                 if (a.st_dev != b.st_dev)
 
         if (lstat("/", &a) >= 0 && lstat("/usr", &b) >= 0)
                 if (a.st_dev != b.st_dev)
-                        seperate = true;
+                        separate = true;
 
         /* This check won't work usually during boot, since /usr is
          * probably not mounted yet, hence let's add a second
          * check. We just check whether /usr is an empty directory. */
 
         if (dir_is_empty("/usr") > 0)
 
         /* This check won't work usually during boot, since /usr is
          * probably not mounted yet, hence let's add a second
          * check. We just check whether /usr is an empty directory. */
 
         if (dir_is_empty("/usr") > 0)
-                seperate = true;
+                separate = true;
 
 
-        if (!seperate)
+        if (!separate)
                 return;
 
         log_warning("/usr appears to be on a different file system than /. This is not supported anymore. "
                 return;
 
         log_warning("/usr appears to be on a different file system than /. This is not supported anymore. "