From 39283d22fb041dd713ac78ece6a6ff2e2f9ea67d Mon Sep 17 00:00:00 2001 From: cadem Date: Sat, 18 Mar 2023 12:59:58 +0800 Subject: [PATCH] fix/change print format --- source/dnode/mnode/impl/src/mndDnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndDnode.c b/source/dnode/mnode/impl/src/mndDnode.c index d09158b86b..6e99d11444 100644 --- a/source/dnode/mnode/impl/src/mndDnode.c +++ b/source/dnode/mnode/impl/src/mndDnode.c @@ -371,7 +371,7 @@ static int32_t mndProcessStatusReq(SRpcMsg *pReq) { if(statusReq.clusterId != 0 && statusReq.clusterId != clusterid) { int32_t err = TSDB_CODE_MND_DNODE_DIFF_CLUSTER; - mWarn("dnode:%d, %s, its clusterid:%ld differ from current cluster:%ld, code:0x%x", statusReq.dnodeId, statusReq.dnodeEp, statusReq.clusterId, clusterid, err); + mWarn("dnode:%d, %s, its clusterid:%" PRId64 " differ from current cluster:%" PRId64 ", code:0x%x", statusReq.dnodeId, statusReq.dnodeEp, statusReq.clusterId, clusterid, err); code = TSDB_CODE_MND_DNODE_DIFF_CLUSTER; goto _OVER; } -- GitLab