ntpd plugin: Replace `syslog (LOG_ERR, ...)' with `ERROR (...)'.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 30 May 2007 06:08:04 +0000 (08:08 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 30 May 2007 06:08:04 +0000 (08:08 +0200)
src/ntpd.c

index b5f1a46..6f8e00e 100644 (file)
@@ -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;