summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2015-05-11 13:49:29 +0200
committerDaniel Mack <daniel@zonque.org>2015-05-11 15:51:30 +0200
commitff9b60f38bf68eba4a47cabff14547d92e083214 (patch)
treebd60ad7e82597fdf9fa4e64f28ad1692ee43c242 /src/core
parent4dda4e637e4c17a14db6cd265f36f5e8a5050367 (diff)
treewide: Correct typos and spell plural of bus consistent
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus.c2
-rw-r--r--src/core/main.c2
-rw-r--r--src/core/manager.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index 4005aac7e7..1679242be8 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -1116,7 +1116,7 @@ int bus_foreach_bus(
sd_bus *b;
int r, ret = 0;
- /* Send to all direct busses, unconditionally */
+ /* Send to all direct buses, unconditionally */
SET_FOREACH(b, m->private_buses, i) {
r = send_message(b, userdata);
if (r < 0)
diff --git a/src/core/main.c b/src/core/main.c
index af28ac6b24..09436774c9 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1384,7 +1384,7 @@ int main(int argc, char *argv[]) {
r = initialize_join_controllers();
if (r < 0) {
- error_message = "Failed to initalize cgroup controllers";
+ error_message = "Failed to initialize cgroup controllers";
goto finish;
}
diff --git a/src/core/manager.c b/src/core/manager.c
index c918f191c9..dba945a1ea 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -753,7 +753,7 @@ static int manager_connect_bus(Manager *m, bool reexecuting) {
reexecuting ||
(m->running_as == SYSTEMD_USER && getenv("DBUS_SESSION_BUS_ADDRESS"));
- /* Try to connect to the busses, if possible. */
+ /* Try to connect to the buses, if possible. */
return bus_init(m, try_bus_connect);
}