mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
tree-wide: fix typo
This commit is contained in:
parent
e4c346f789
commit
6dd3b818bb
|
@ -47,7 +47,7 @@
|
|||
|
||||
<para>Resource usage is only accounted for control groups with the appropriate controllers turned on:
|
||||
<literal>cpu</literal> controller for CPU usage, <literal>memory</literal> controller for memory usage,
|
||||
and <literal>io</literal> contoller for disk I/O consumption. If resource monitoring for these resources
|
||||
and <literal>io</literal> controller for disk I/O consumption. If resource monitoring for these resources
|
||||
is required, it is recommended to add the <varname>CPUAccounting=1</varname>,
|
||||
<varname>MemoryAccounting=1</varname> and <varname>IOAccounting=1</varname> settings in the unit files in
|
||||
question. See
|
||||
|
|
|
@ -4531,8 +4531,8 @@ _public_ int sd_event_source_set_ratelimit_expire_callback(sd_event_source *s, s
|
|||
_public_ int sd_event_source_get_ratelimit(sd_event_source *s, uint64_t *ret_interval, unsigned *ret_burst) {
|
||||
assert_return(s, -EINVAL);
|
||||
|
||||
/* Querying whether an event source has ratelimiting configured is not a loggable offsense, hence
|
||||
* don't use assert_return(). Unlike turning on ratelimiting it's not really a programming error */
|
||||
/* Querying whether an event source has ratelimiting configured is not a loggable offense, hence
|
||||
* don't use assert_return(). Unlike turning on ratelimiting it's not really a programming error. */
|
||||
if (!EVENT_SOURCE_CAN_RATE_LIMIT(s->type))
|
||||
return -EDOM;
|
||||
|
||||
|
|
Loading…
Reference in a new issue