From 0e4b4b425c516a74d02d2648b5a449cbdec48fd7 Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Wed, 1 Jan 2025 14:46:22 +0000 Subject: [PATCH] Fix compiling error on ARM Signed-off-by: Stephen Sun --- orchagent/switchorch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchagent/switchorch.cpp b/orchagent/switchorch.cpp index 741cb547d2..46ca7fbbef 100644 --- a/orchagent/switchorch.cpp +++ b/orchagent/switchorch.cpp @@ -1122,7 +1122,7 @@ void SwitchOrch::onSwitchAsicSdkHealthEvent(sai_object_id_t switch_id, if (difftime(t, now) > year_in_seconds) { - SWSS_LOG_ERROR("Invalid timestamp second %lu in received ASIC/SDK health event, reset to current time", timestamp.tv_sec); + SWSS_LOG_ERROR("Invalid timestamp second %" PRIx64 " in received ASIC/SDK health event, reset to current time", timestamp.tv_sec); t = now; }