diff --git a/src/ntpd.c b/src/ntpd.c
index fe3576c23e08a981bffc47ca9417ec06e5b192ba..9e09f81982291dc3b60b3040e93eb4829838a342 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
if (sock_descr < 0)
{
- DEBUG ("Unable to connect to server.");
ERROR ("ntpd plugin: Unable to connect to server.");
}
if (status < 0)
{
char errbuf[1024];
- DEBUG ("recv(2) failed: %s",
+ INFO ("recv(2) failed: %s",
sstrerror (errno, errbuf, sizeof (errbuf)));
DEBUG ("Closing socket #%i", sd);
close (sd);