mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
treewide: fix typos (#6566)
This commit is contained in:
parent
4f6631c8fc
commit
ed88a9007a
@ -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;
|
||||
}
|
||||
|
@ -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';
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user