]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typos of "boottime"/"BOOTTIME"
authorNick Rosbrook <nick.rosbrook@canonical.com>
Fri, 9 Jun 2023 16:21:11 +0000 (12:21 -0400)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Jun 2023 19:59:36 +0000 (21:59 +0200)
man/sd-event.xml
src/libsystemd/sd-event/sd-event.c
src/timesync/timesyncd-manager.c

index 2f17b89145d5b4c92cf926457246a2c85f696032..834eaeae85445b214c610e834811f282eb7f2be1 100644 (file)
@@ -91,7 +91,7 @@
       project='man-pages'><refentrytitle>timerfd_create</refentrytitle><manvolnum>2</manvolnum></citerefentry>,
       supporting the <constant>CLOCK_MONOTONIC</constant>,
       <constant>CLOCK_REALTIME</constant>,
-      <constant>CLOCK_BOOTIME</constant> clocks, as well as the
+      <constant>CLOCK_BOOTTIME</constant> clocks, as well as the
       <constant>CLOCK_REALTIME_ALARM</constant> and
       <constant>CLOCK_BOOTTIME_ALARM</constant> clocks that can resume
       the system from suspend. When creating timer events a required
index 9c624ab56f779a0664d1012f7255b4679b6ca99a..aba458185b8378e5de0b47dadcf59383f23d964d 100644 (file)
@@ -62,7 +62,7 @@ static bool event_source_is_offline(sd_event_source *s) {
 static const char* const event_source_type_table[_SOURCE_EVENT_SOURCE_TYPE_MAX] = {
         [SOURCE_IO]                  = "io",
         [SOURCE_TIME_REALTIME]       = "realtime",
-        [SOURCE_TIME_BOOTTIME]       = "bootime",
+        [SOURCE_TIME_BOOTTIME]       = "boottime",
         [SOURCE_TIME_MONOTONIC]      = "monotonic",
         [SOURCE_TIME_REALTIME_ALARM] = "realtime-alarm",
         [SOURCE_TIME_BOOTTIME_ALARM] = "boottime-alarm",
index 569389b9d484f71fd2e537f98c60833ebcdb9e9e..07f66623a751d2fc939fcc355628ffe93713c81c 100644 (file)
@@ -622,7 +622,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
                            "MESSAGE_ID=" SD_MESSAGE_TIME_SYNC_STR,
                            "MONOTONIC_USEC=" USEC_FMT, dts.monotonic,
                            "REALTIME_USEC=" USEC_FMT, dts.realtime,
-                           "BOOTIME_USEC=" USEC_FMT, dts.boottime);
+                           "BOOTTIME_USEC=" USEC_FMT, dts.boottime);
         }
 
         r = manager_arm_timer(m, m->poll_interval_usec);