From 19321df9e4490b75ac7b322afec9d231bcb6ffe3 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Thu, 23 May 2019 21:00:24 +0200 Subject: [PATCH] [#624] Compilation fix for Alpine linux --- src/bin/perfdhcp/test_control.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/perfdhcp/test_control.cc b/src/bin/perfdhcp/test_control.cc index 9ae1e9dd45..d639585867 100644 --- a/src/bin/perfdhcp/test_control.cc +++ b/src/bin/perfdhcp/test_control.cc @@ -1011,9 +1011,7 @@ TestControl::runWrapped(bool do_stop /*= false */) const { if (pid < 0) { isc_throw(Unexpected, "unable to fork"); } else if (pid == 0) { - execlp(options_.getWrapped().c_str(), - do_stop ? "stop" : "start", - NULL); + execlp(options_.getWrapped().c_str(), do_stop ? "stop" : "start", (void*)0); } } } -- 2.47.2