From: Florian Forster Date: Wed, 30 May 2007 06:08:04 +0000 (+0200) Subject: ntpd plugin: Replace `syslog (LOG_ERR, ...)' with `ERROR (...)'. X-Git-Tag: collectd-4.0.0~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2cce6f0069de350ff968c414a9ff30ad5ef451f2;p=collectd.git ntpd plugin: Replace `syslog (LOG_ERR, ...)' with `ERROR (...)'. --- diff --git a/src/ntpd.c b/src/ntpd.c index b5f1a46c..6f8e00e3 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -570,7 +570,7 @@ static int ntpd_receive_response (int req_code, int *res_items, int *res_size, if (pkt_item_len > res_item_size) { - syslog (LOG_ERR, "ntpd plugin: (pkt_item_len = %i) " + ERROR ("ntpd plugin: (pkt_item_len = %i) " ">= (res_item_size = %i)", pkt_item_len, res_item_size); continue;