summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2012-07-15 11:41:40 +0300
committerLennart Poettering <lennart@poettering.net>2012-07-16 12:16:29 +0200
commit49f43d5f91a99b23f745726aa351d8f159774357 (patch)
treeadfb1f1dcf466bebfb9317479b6572dde083cba6 /src
parent4cb72937d3c10948e4904388ea27efae75775f08 (diff)
Spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/core/load-fragment.c2
-rw-r--r--src/core/shutdown.c2
-rw-r--r--src/core/unit.h2
-rw-r--r--src/journal/lookup3.c6
-rw-r--r--src/journal/sd-journal.c2
-rw-r--r--src/shared/dbus-common.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index e0e42acbb4..748ab55d54 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1910,7 +1910,7 @@ int config_parse_unit_blkio_bandwidth(const char *filename, unsigned line, const
}
if (parse_bytes(l[1], &bytes) < 0 || bytes <= 0) {
- log_error("[%s:%u] Failed to parse block IO bandwith value, ignoring: %s", filename, line, rvalue);
+ log_error("[%s:%u] Failed to parse block IO bandwidth value, ignoring: %s", filename, line, rvalue);
strv_free(l);
return 0;
}
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index 1c2bf372b5..78dccfb724 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -116,7 +116,7 @@ static int pivot_to_new_root(void) {
if (pivot_root(".", "oldroot") < 0) {
log_error("pivot failed: %m");
- /* only chroot if pivot root succeded */
+ /* only chroot if pivot root succeeded */
return -errno;
}
diff --git a/src/core/unit.h b/src/core/unit.h
index 61a85d7bee..45849a4b12 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -220,7 +220,7 @@ struct Unit {
/* Ignore this unit when snapshotting */
bool ignore_on_snapshot;
- /* Did the last condition check suceed? */
+ /* Did the last condition check succeed? */
bool condition_result;
bool in_load_queue:1;
diff --git a/src/journal/lookup3.c b/src/journal/lookup3.c
index b90093a5e2..31eac8c543 100644
--- a/src/journal/lookup3.c
+++ b/src/journal/lookup3.c
@@ -315,7 +315,7 @@ uint32_t jenkins_hashlittle( const void *key, size_t length, uint32_t initval)
* rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash
- * noticably faster for short strings (like English words).
+ * noticeably faster for short strings (like English words).
*/
#ifndef VALGRIND
@@ -499,7 +499,7 @@ void jenkins_hashlittle2(
* rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash
- * noticably faster for short strings (like English words).
+ * noticeably faster for short strings (like English words).
*/
#ifndef VALGRIND
@@ -675,7 +675,7 @@ uint32_t jenkins_hashbig( const void *key, size_t length, uint32_t initval)
* rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash
- * noticably faster for short strings (like English words).
+ * noticeably faster for short strings (like English words).
*/
#ifndef VALGRIND
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index a2900fbee9..6befd8b3ce 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -745,7 +745,7 @@ static int next_with_matches(
return journal_file_next_entry(f, c, cp, direction, ret, offset);
/* If we have a match then we look for the next matching entry
- * wiht an offset at least one step larger */
+ * with an offset at least one step larger */
return next_for_match(j, j->level0, f, direction == DIRECTION_DOWN ? cp+1 : cp-1, direction, ret, offset);
}
diff --git a/src/shared/dbus-common.c b/src/shared/dbus-common.c
index ddb50b1eca..3f5ce97680 100644
--- a/src/shared/dbus-common.c
+++ b/src/shared/dbus-common.c
@@ -1156,7 +1156,7 @@ DBusHandlerResult bus_exit_idle_filter(DBusConnection *bus, DBusMessage *m, void
assert(m);
assert(remain_until);
- /* Everytime we get a new message we reset out timeout */
+ /* Every time we get a new message we reset out timeout */
*remain_until = now(CLOCK_MONOTONIC) + DEFAULT_EXIT_USEC;
if (dbus_message_is_signal(m, DBUS_INTERFACE_LOCAL, "Disconnected"))