]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
timesync: add short comment for boolean argument 36506/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 Feb 2025 04:45:07 +0000 (13:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 Feb 2025 04:45:07 +0000 (13:45 +0900)
src/timesync/timesyncd-manager.c

index 087fb7ab3b0a0691910bab61aa781c2a3eeecd3d..a361d60c63e55431defcca0c19e5611dac7d7922 100644 (file)
@@ -1215,7 +1215,7 @@ static int manager_save_time_and_rearm(Manager *m, usec_t t) {
          * clock, but otherwise uses the specified timestamp. Note that whenever we acquire an NTP sync the
          * specified timestamp value might be more accurate than the system clock, since the latter is
          * subject to slow adjustments. */
-        r = touch_file(TIMESYNCD_CLOCK_FILE, false, t, UID_INVALID, GID_INVALID, MODE_INVALID);
+        r = touch_file(TIMESYNCD_CLOCK_FILE, /* parents = */ false, t, UID_INVALID, GID_INVALID, MODE_INVALID);
         if (r < 0)
                 log_debug_errno(r, "Failed to update "TIMESYNCD_CLOCK_FILE", ignoring: %m");