From ba54dbd012530ca8d89d9dd7d92e7458c7f0be99 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 15 May 2016 21:14:13 +0200 Subject: [PATCH] daemon: give the name of the control socket Otherwise, people have to enable debug to get the information. --- src/daemon/lldpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 3a3c7248..da2e37a5 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1660,7 +1660,7 @@ lldpd_main(int argc, char *argv[], char *envp[]) log_warn("main", "cannot determine if another daemon is already running"); fatalx("main", "giving up"); } - log_warn("main", "unable to create control socket"); + log_warn("main", "unable to create control socket at %s", ctlname); fatalx("main", "giving up"); } #ifdef ENABLE_PRIVSEP -- 2.47.2