From: Claudius Zingerli Date: Fri, 12 Feb 2016 23:56:58 +0000 (+0100) Subject: Fixed seq nr display X-Git-Tag: collectd-5.6.0~258^2~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0fceb4545c7acd458b26874e0ada6f46ab54f815;p=collectd.git Fixed seq nr display --- diff --git a/src/chrony.c b/src/chrony.c index 1a17cda0..f170f67e 100644 --- a/src/chrony.c +++ b/src/chrony.c @@ -522,7 +522,7 @@ static int chrony_query(const int p_command, tChrony_Request *p_req, tChrony_Res p_req->header.f_cmd_try = 0; p_req->header.f_seq = seq_nr; - DEBUG(PLUGIN_NAME ": Sending request (.cmd = %d, .seq = %d)",p_command,seq_nr); + DEBUG(PLUGIN_NAME ": Sending request (.cmd = %d, .seq = %d)",p_command, seq_nr); if (chrony_send_request(p_req,req_size) != 0) { break; @@ -534,8 +534,8 @@ static int chrony_query(const int p_command, tChrony_Request *p_req, tChrony_Res break; } DEBUG(PLUGIN_NAME ": Received response: .version = %u, .type = %u, .cmd = %u, .reply = %u, .status = %u, .seq = %u", - p_resp->header.f_version,p_resp->header.f_type,ntohs(p_resp->header.f_cmd), - ntohs(p_resp->header.f_reply),ntohs(p_resp->header.f_status),ntohl(p_resp->header.f_seq)); + p_resp->header.f_version, p_resp->header.f_type, ntohs(p_resp->header.f_cmd), + ntohs(p_resp->header.f_reply), ntohs(p_resp->header.f_status), p_resp->header.f_seq); if (p_resp->header.f_version != p_req->header.f_version) {