Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions open-vm-tools/services/plugins/timeSync/pllLinux.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
static void
TimeSyncLogPLLState(const char *prefix, struct timex *tx)
{
g_debug("%s : off %ld freq %ld maxerr %ld esterr %ld status %d "
"const %ld precision %ld tolerance %ld tick %ld\n",
prefix, tx->offset, tx->freq, tx->maxerror, tx->esterror,
tx->status, tx->constant, tx->precision, tx->tolerance, tx->tick);
g_debug("%s : off %jd freq %jd maxerr %jd esterr %jd status %d "
"const %jd precision %jd tolerance %jd tick %jd\n",
prefix, (intmax_t)tx->offset, (intmax_t)tx->freq, (intmax_t)tx->maxerror, (intmax_t)tx->esterror,
tx->status, (intmax_t)tx->constant, (intmax_t)tx->precision, (intmax_t)tx->tolerance, (intmax_t)tx->tick);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion open-vm-tools/services/plugins/timeSync/slewLinux.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ TimeSync_Slew(int64 delta,
g_debug("adjtimex failed: %s\n", strerror(errno));
return FALSE;
}
g_debug("time slew start: %ld\n", tx.tick);
g_debug("time slew start: %jd\n", (intmax_t)tx.tick);
return TRUE;
}