From ac3128b9759427ae7599dbf4ca6c8a9d1dc5e810 Mon Sep 17 00:00:00 2001 From: otto <> Date: Sun, 7 Jul 2019 19:17:40 +0000 Subject: [PATCH] proper level of two messages, prompted by deraadt@ --- src/usr.sbin/ntpd/control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr.sbin/ntpd/control.c b/src/usr.sbin/ntpd/control.c index 8cd383b4..db27af59 100644 --- a/src/usr.sbin/ntpd/control.c +++ b/src/usr.sbin/ntpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.15 2019/05/28 06:49:46 otto Exp $ */ +/* $OpenBSD: control.c,v 1.16 2019/07/07 19:17:40 otto Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -47,12 +47,12 @@ control_check(char *path) strlcpy(sun.sun_path, path, sizeof(sun.sun_path)); if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { - log_warn("control_check: socket check"); + log_debug("control_check: socket check"); return (-1); } if (connect(fd, (struct sockaddr *)&sun, sizeof(sun)) == 0) { - log_warnx("control_check: socket in use"); + log_debug("control_check: socket in use"); close(fd); return (-1); }