changeset 5511:618c0ef1bae8 draft

BSD doesn't use envp
author Roy Marples <roy@marples.name>
date Sat, 10 Oct 2020 14:46:25 +0100
parents b9a2c4481c2e
children adb3ad34082f
files src/dhcpcd.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dhcpcd.c	Sat Oct 10 14:44:00 2020 +0100
+++ b/src/dhcpcd.c	Sat Oct 10 14:46:25 2020 +0100
@@ -1789,6 +1789,8 @@
 
 #ifdef SETPROCTITLE_H
 	setproctitle_init(argc, argv, envp);
+#else
+	UNUSED(envp);
 #endif
 
 	/* Test for --help and --version */