From: Tomek Mrugalski Date: Thu, 23 May 2019 19:00:24 +0000 (+0200) Subject: [#624] Compilation fix for Alpine linux X-Git-Tag: Kea-1.6.0-beta~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19321df9e4490b75ac7b322afec9d231bcb6ffe3;p=thirdparty%2Fkea.git [#624] Compilation fix for Alpine linux --- 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); } } }