summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-10-10 14:46:25 +0100
committerRoy Marples <roy@marples.name>2020-10-10 14:46:25 +0100
commitadb065189bbdfaa31f9ea9775e85686e520f42f4 (patch)
treeb51efff77c57604cbe863fb192ccf5850fd2eb88 /src/dhcpcd.c
parent05e9264a61165bfeee1a7f03e31c1b7cbefbefd4 (diff)
downloaddhcpcd-adb065189bbdfaa31f9ea9775e85686e520f42f4.tar.xz
BSD doesn't use envp
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 82559933..9b0a79a4 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -1789,6 +1789,8 @@ main(int argc, char **argv, char **envp)
#ifdef SETPROCTITLE_H
setproctitle_init(argc, argv, envp);
+#else
+ UNUSED(envp);
#endif
/* Test for --help and --version */