From d64549384f6fd46463528fefad34cbeba7e7040e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 7 Jul 2014 09:32:12 +0200 Subject: [PATCH] lldpd: fix use of NULL in execl* See: http://c-faq.com/null/nullreq.html --- 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 4c32f277..cc113e35 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1140,7 +1140,7 @@ lldpd_configure(int debug, const char *path, const char *ctlname) "-c", SYSCONFDIR "/lldpd.conf", "-c", SYSCONFDIR "/lldpd.d", "resume", - NULL); + (char *)NULL); log_warn("main", "unable to execute %s", path); log_warnx("main", "configuration is incomplete, lldpd needs to be unpaused"); } -- 2.39.5