From: Torstein Husebø Date: Tue, 8 Aug 2017 14:05:29 +0000 (+0200) Subject: treewide: fix typos (#6566) X-Git-Tag: v235~256 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed88a9007a9e45e31d9100c965ab3f94370ec801;p=thirdparty%2Fsystemd.git treewide: fix typos (#6566) --- diff --git a/src/basic/random-util.c b/src/basic/random-util.c index 810eeab4d55..42f484d6879 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 1c6378f31a5..a7fafb9be57 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 e0c92946d14..4458f98ebf2 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)