From: Yu Watanabe Date: Sat, 27 Aug 2022 15:03:36 +0000 (+0900) Subject: tree-wide: fix typo X-Git-Tag: v252-rc1~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd3b818bbfc6a2c35e5a530186a8c0bc1e01118;p=thirdparty%2Fsystemd.git tree-wide: fix typo --- diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml index 074eeb246bb..f08304d300f 100644 --- a/man/systemd-cgtop.xml +++ b/man/systemd-cgtop.xml @@ -47,7 +47,7 @@ Resource usage is only accounted for control groups with the appropriate controllers turned on: cpu controller for CPU usage, memory controller for memory usage, - and io contoller for disk I/O consumption. If resource monitoring for these resources + and io controller for disk I/O consumption. If resource monitoring for these resources is required, it is recommended to add the CPUAccounting=1, MemoryAccounting=1 and IOAccounting=1 settings in the unit files in question. See diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 027a8dffa1e..b3b3d0b4d64 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -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;