core, libsystemd, systemd, timedate, udev: spelling fixes
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
9029f64298
commit
6f285378aa
+1
-1
@@ -3416,7 +3416,7 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags) {
|
||||
free(t);
|
||||
}
|
||||
|
||||
/* Interpet WATCHDOG= */
|
||||
/* Interpret WATCHDOG= */
|
||||
if (strv_find(tags, "WATCHDOG=1")) {
|
||||
log_debug_unit(u->id, "%s: got WATCHDOG=1", u->id);
|
||||
service_reset_watchdog(s);
|
||||
|
||||
+1
-1
@@ -1537,7 +1537,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
|
||||
unit_destroy_cgroup(u);
|
||||
|
||||
/* Note that this doesn't apply to RemainAfterExit services exiting
|
||||
* sucessfully, since there's no change of state in that case. Which is
|
||||
* successfully, since there's no change of state in that case. Which is
|
||||
* why it is handled in service_set_state() */
|
||||
if (UNIT_IS_INACTIVE_OR_FAILED(os) != UNIT_IS_INACTIVE_OR_FAILED(ns)) {
|
||||
ExecContext *ec;
|
||||
|
||||
@@ -4215,7 +4215,7 @@ static int message_read_ap(
|
||||
* in a single stackframe. We hence implement our own
|
||||
* home-grown stack in an array. */
|
||||
|
||||
n_array = (unsigned) -1; /* lenght of current array entries */
|
||||
n_array = (unsigned) -1; /* length of current array entries */
|
||||
n_struct = strlen(types); /* length of current struct contents signature */
|
||||
|
||||
for (;;) {
|
||||
|
||||
@@ -1447,7 +1447,7 @@ static int bus_seal_message(sd_bus *b, sd_bus_message *m, usec_t timeout) {
|
||||
static int bus_remarshal_message(sd_bus *b, sd_bus_message **m) {
|
||||
assert(b);
|
||||
|
||||
/* Do packet version and endianess already match? */
|
||||
/* Do packet version and endianness already match? */
|
||||
if ((b->message_version == 0 || b->message_version == (*m)->header->version) &&
|
||||
(b->message_endian == 0 || b->message_endian == (*m)->header->endian))
|
||||
return 0;
|
||||
@@ -1464,7 +1464,7 @@ int bus_seal_synthetic_message(sd_bus *b, sd_bus_message *m) {
|
||||
* hence let's fill something in for synthetic messages. Since
|
||||
* synthetic messages might have a fake sender and we don't
|
||||
* want to interfere with the real sender's serial numbers we
|
||||
* pick a fixed, artifical one. We use (uint32_t) -1 rather
|
||||
* pick a fixed, artificial one. We use (uint32_t) -1 rather
|
||||
* than (uint64_t) -1 since dbus1 only had 32bit identifiers,
|
||||
* even though kdbus can do 64bit. */
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ int sd_resolve_get_next(sd_resolve *resolve, sd_resolve_query **q);
|
||||
int sd_resolve_get_n_queries(sd_resolve *resolve);
|
||||
|
||||
/** Cancel a currently running query. q is is destroyed by this call
|
||||
* and may not be used any futher. */
|
||||
* and may not be used any further. */
|
||||
int sd_resolve_cancel(sd_resolve_query* q);
|
||||
|
||||
/** Returns non-zero when the query operation specified by q has been completed */
|
||||
|
||||
@@ -468,7 +468,7 @@ static int property_get_rtc_time(
|
||||
zero(tm);
|
||||
r = hwclock_get_time(&tm);
|
||||
if (r == -EBUSY) {
|
||||
log_warning("/dev/rtc is busy, is somebody keeping it open continously? That's not a good idea... Returning a bogus RTC timestamp.");
|
||||
log_warning("/dev/rtc is busy, is somebody keeping it open continuously? That's not a good idea... Returning a bogus RTC timestamp.");
|
||||
t = 0;
|
||||
} else if (r == -ENOENT) {
|
||||
log_debug("Not /dev/rtc found.");
|
||||
|
||||
@@ -100,7 +100,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[])
|
||||
case '?':
|
||||
exit(EXIT_FAILURE);
|
||||
default:
|
||||
assert_not_reached("Unkown argument");
|
||||
assert_not_reached("Unknown argument");
|
||||
}
|
||||
|
||||
if (optind < argc) {
|
||||
|
||||
Reference in New Issue
Block a user