mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
tree-wide: fix typo
This commit is contained in:
parent
7f1238bd04
commit
48008c1cbf
|
@ -106,7 +106,7 @@
|
|||
but might not on older. It is possible to convert the machine ID into a UUID v4-compatible one. For more
|
||||
information, see
|
||||
<citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>. It is
|
||||
hence guaranteed that thes functions will never return the ID consisting of all zero or all one bits
|
||||
hence guaranteed that these functions will never return the ID consisting of all zero or all one bits
|
||||
(<constant>SD_ID128_NULL</constant>, <constant>SD_ID128_ALLF</constant>) — with the possible exception of
|
||||
<function>sd_id128_get_machine()</function>, as mentioned.</para>
|
||||
|
||||
|
|
|
@ -2708,7 +2708,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, UnitNotifyFlag
|
|||
}
|
||||
|
||||
/* And now, add the unit or depending units to various queues that will act on the new situation if
|
||||
* needed. These queues generally check for continous state changes rather than events (like most of
|
||||
* needed. These queues generally check for continuous state changes rather than events (like most of
|
||||
* the state propagation above), and do work deferred instead of instantly, since they typically
|
||||
* don't want to run during reloading, and usually involve checking combined state of multiple units
|
||||
* at once. */
|
||||
|
@ -5831,7 +5831,7 @@ int unit_get_dependency_array(const Unit *u, UnitDependencyAtom atom, Unit ***re
|
|||
|
||||
/* Gets a list of units matching a specific atom as array. This is useful when iterating through
|
||||
* dependencies while modifying them: the array is an "atomic snapshot" of sorts, that can be read
|
||||
* while the dependency table is continously updated. */
|
||||
* while the dependency table is continuously updated. */
|
||||
|
||||
UNIT_FOREACH_DEPENDENCY(other, u, atom) {
|
||||
if (!GREEDY_REALLOC(array, n + 1))
|
||||
|
|
|
@ -2141,7 +2141,7 @@ _public_ int sd_device_trigger_with_uuid(
|
|||
|
||||
assert_return(device, -EINVAL);
|
||||
|
||||
/* If noone wants to know the UUID, use the simple interface from pre-4.13 times */
|
||||
/* If no one wants to know the UUID, use the simple interface from pre-4.13 times */
|
||||
if (!ret_uuid)
|
||||
return sd_device_trigger(device, action);
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ static void test_malloc_size_safe(void) {
|
|||
assert_se(malloc_usable_size(NULL) == 0); /* as per man page, this is safe and defined */
|
||||
assert_se(__builtin_object_size(NULL, 0) == SIZE_MAX); /* as per docs SIZE_MAX is returned for pointers where the size isn't known */
|
||||
|
||||
/* Then, let's try these macros once with contant size values, so that __builtin_object_size()
|
||||
/* Then, let's try these macros once with constant size values, so that __builtin_object_size()
|
||||
* definitely can work (as long as -O2 is used when compiling) */
|
||||
assert_se(f = new(uint32_t, n));
|
||||
TEST_SIZES(f, n);
|
||||
|
|
Loading…
Reference in a new issue