summaryrefslogtreecommitdiff
path: root/src/strv.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-02-21 15:32:17 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-28 22:47:38 +0100
commit35b8ca3aaf8cb044ad76675dfcad89e000dd4a5c (patch)
treec2cb5f22b38ea29d99e80df50f7b098f9020f1c4 /src/strv.c
parenta9bd141b4a144d8da062f9f8fa13869bba0c7bce (diff)
Spelling Corrections
Just some lame spelling corrections with no functionality.
Diffstat (limited to 'src/strv.c')
-rw-r--r--src/strv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strv.c b/src/strv.c
index b1643b357..c8ff5745e 100644
--- a/src/strv.c
+++ b/src/strv.c
@@ -355,7 +355,7 @@ char **strv_remove(char **l, const char *s) {
if (!l)
return NULL;
- /* Drops every occurence of s in the string list */
+ /* Drops every occurrence of s in the string list */
for (f = t = l; *f; f++) {
@@ -379,7 +379,7 @@ static int env_append(char **r, char ***k, char **a) {
return 0;
/* Add the entries of a to *k unless they already exist in *r
- * in which case they are overriden instead. This assumes
+ * in which case they are overridden instead. This assumes
* there is enough space in the r array. */
for (; *a; a++) {
@@ -474,7 +474,7 @@ char **strv_env_delete(char **x, unsigned n_lists, ...) {
char **l, **k, **r, **j;
va_list ap;
- /* Deletes every entry fromx that is mentioned in the other
+ /* Deletes every entry from x that is mentioned in the other
* string lists */
n = strv_length(x);