From: Kruti Pendharkar Date: Tue, 25 Feb 2025 01:42:24 +0000 (-0800) Subject: Minor fix to the debug log about timesync being disabled X-Git-Tag: stable-13.1.0~208 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f2e50a0129d764771a1c992a134621ff0c991ef6;p=thirdparty%2Fopen-vm-tools.git Minor fix to the debug log about timesync being disabled This change intends to log which type of timesync has been disabled to avoid potential confusion. --- diff --git a/open-vm-tools/services/plugins/timeSync/timeSync.c b/open-vm-tools/services/plugins/timeSync/timeSync.c index 7c07614fd..a8282b2ed 100644 --- a/open-vm-tools/services/plugins/timeSync/timeSync.c +++ b/open-vm-tools/services/plugins/timeSync/timeSync.c @@ -757,7 +757,8 @@ TimeSyncDoSync(Bool slewCorrection, * seamlessly, this also avoids warning logs on the FALSE returns. */ if (disableAll || (disablePeriodic && syncType == TIMESYNC_PERIODIC)) { - g_debug("Time synchronization is disabled.\n"); + g_debug("%s time synchronization is disabled.\n", + disableAll ? "All" : "Periodic"); return TRUE; } return TimeSyncDoSyncWork(slewCorrection, syncType, allowBackwardSync,