Code

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 b5f1a46c320306cd6c0e14af34327b30bbb238cc..6f8e00e35c1d1acdc93c14f4ec06b9d3f4277652 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;