summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2017-08-08 16:05:29 +0200
committerFelipe Sateler <fsateler@users.noreply.github.com>2017-08-08 10:05:29 -0400
commited88a9007a9e45e31d9100c965ab3f94370ec801 (patch)
tree90624ddfc38b9a67006609d4761d0963ae732f7f
parent4f6631c8fcfc2a8b992a78ef73c2458f266d6245 (diff)
downloadsystemd-ed88a9007a9e45e31d9100c965ab3f94370ec801.tar.gz
systemd-ed88a9007a9e45e31d9100c965ab3f94370ec801.tar.bz2
systemd-ed88a9007a9e45e31d9100c965ab3f94370ec801.zip
treewide: fix typos (#6566)
-rw-r--r--src/basic/random-util.c2
-rw-r--r--src/shared/bus-util.c2
-rw-r--r--src/timesync/timesyncd-manager.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/random-util.c b/src/basic/random-util.c
index 810eeab4d5..42f484d687 100644
--- a/src/basic/random-util.c
+++ b/src/basic/random-util.c
@@ -64,7 +64,7 @@ int acquire_random_bytes(void *p, size_t n, bool high_quality_required) {
if ((size_t) r == n)
return 0;
if (!high_quality_required) {
- /* Fill in the remaing bytes using pseudorandom values */
+ /* Fill in the remaining bytes using pseudorandom values */
pseudorandom_bytes((uint8_t*) p + r, n - r);
return 0;
}
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 1c6378f31a..a7fafb9be5 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -842,7 +842,7 @@ int bus_print_property(const char *name, sd_bus_message *property, bool value, b
if (first && !value)
printf("%s=", name);
- /* This property has multiple space-seperated values, so
+ /* This property has multiple space-separated values, so
* neither spaces not newlines can be allowed in a value. */
good = str[strcspn(str, " \n")] == '\0';
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index e0c92946d1..4458f98ebf 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -1093,7 +1093,7 @@ static int manager_network_monitor_listen(Manager *m) {
r = sd_network_monitor_new(&m->network_monitor, NULL);
if (r == -ENOENT) {
- log_info("Systemd does not appear to be running, not listening for systmed-networkd events.");
+ log_info("Systemd does not appear to be running, not listening for systemd-networkd events.");
return 0;
}
if (r < 0)