chiark / gitweb /
fix typo: s/seperat/separat/g
authorDave Reisner <d@falconindy.com>
Wed, 29 Sep 2010 13:13:04 +0000 (09:13 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Oct 2010 19:50:56 +0000 (21:50 +0200)
man/systemd.service.xml
src/log.c
src/logger.c
src/mount.c
src/util.c
src/util.h

index 7fc3205ff14b99d91c1e4eca4f4be5c2508e4530..66806f1bd25d0b14fe194bfb7f170e7cb7319e17 100644 (file)
                                 the command in
                                 <varname>ExecStart=</varname>. Multiple
                                 command lines may be concatenated in a
-                                single directive, by seperating them
+                                single directive, by separating them
                                 by semicolons (these semicolons must
                                 be passed as separate words). In that
                                 case, the commands are executed one
index 2dd3e978ff1f2e1a0611ef0f7d8935f70cb719b5..d82747ea8c914459997a254c9435a2d563721977 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -300,7 +300,7 @@ static int write_to_syslog(
         IOVEC_SET_STRING(iovec[3], header_pid);
         IOVEC_SET_STRING(iovec[4], buffer);
 
-        /* When using syslog via SOCK_STREAM seperate the messages by NUL chars */
+        /* When using syslog via SOCK_STREAM separate the messages by NUL chars */
         if (syslog_is_stream)
                 iovec[4].iov_len++;
 
index 9d67ab6bd82074d407957cbda87ffdc44b90340c..9c3cb1abd770723c1cd8b1803047b85cc2d8b76b 100644 (file)
@@ -174,7 +174,7 @@ static int stream_log(Stream *s, char *p, usec_t ts) {
                 IOVEC_SET_STRING(iovec[3], header_pid);
                 IOVEC_SET_STRING(iovec[4], p);
 
-                /* When using syslog via SOCK_STREAM seperate the messages by NUL chars */
+                /* When using syslog via SOCK_STREAM separate the messages by NUL chars */
                 if (s->server->syslog_is_stream)
                         iovec[4].iov_len++;
 
index fd77516076659b196f3740bd152fcded8154fa91..b17fe2a7d3df371ea658cd9c347672d44e5559cb 100644 (file)
@@ -1427,7 +1427,7 @@ static int mount_load_proc_self_mountinfo(Manager *m, bool set_flags) {
                                 "%ms "       /* (5) mount point */
                                 "%ms"        /* (6) mount options */
                                 "%*[^-]"     /* (7) optional fields */
-                                "- "         /* (8) seperator */
+                                "- "         /* (8) separator */
                                 "%ms "       /* (9) file system type */
                                 "%ms"        /* (10) mount source */
                                 "%ms"        /* (11) mount options 2 */
index ce8695be25f6c3fad0ee1e2b06028278b93db824..98dbe28b54643cdb6de11f52e0c316d2f3529053 100644 (file)
@@ -600,13 +600,13 @@ finish:
 
 int parse_env_file(
                 const char *fname,
-                const char *seperator, ...) {
+                const char *separator, ...) {
 
         int r = 0;
         char *contents, *p;
 
         assert(fname);
-        assert(seperator);
+        assert(separator);
 
         if ((r = read_full_file(fname, &contents)) < 0)
                 return r;
@@ -615,7 +615,7 @@ int parse_env_file(
         for (;;) {
                 const char *key = NULL;
 
-                p += strspn(p, seperator);
+                p += strspn(p, separator);
                 p += strspn(p, WHITESPACE);
 
                 if (!*p)
@@ -625,7 +625,7 @@ int parse_env_file(
                         va_list ap;
                         char **value;
 
-                        va_start(ap, seperator);
+                        va_start(ap, separator);
                         while ((key = va_arg(ap, char *))) {
                                 size_t n;
                                 char *v;
@@ -638,7 +638,7 @@ int parse_env_file(
                                         continue;
 
                                 p += n + 1;
-                                n = strcspn(p, seperator);
+                                n = strcspn(p, separator);
 
                                 if (n >= 2 &&
                                     strchr(QUOTES, p[0]) &&
@@ -671,7 +671,7 @@ int parse_env_file(
                 }
 
                 if (!key)
-                        p += strcspn(p, seperator);
+                        p += strcspn(p, separator);
         }
 
 fail:
index ae00ff50c43c901a41af89d91ad000066cfe46ba..f21aecf256e7219a533648da732c62fe7572945a 100644 (file)
@@ -191,7 +191,7 @@ int write_one_line_file(const char *fn, const char *line);
 int read_one_line_file(const char *fn, char **line);
 int read_full_file(const char *fn, char **contents);
 
-int parse_env_file(const char *fname, const char *seperator, ...) _sentinel_;
+int parse_env_file(const char *fname, const char *separator, ...) _sentinel_;
 
 char *strappend(const char *s, const char *suffix);
 char *strnappend(const char *s, const char *suffix, size_t length);