From: Razvan Becheriu Date: Mon, 15 Sep 2025 09:19:32 +0000 (+0300) Subject: [#4107] addressed review X-Git-Tag: Kea-3.1.2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9f8d3650c4a6afd9b59c38802f26cad34b82ff6;p=thirdparty%2Fkea.git [#4107] addressed review --- diff --git a/src/lib/process/daemon.cc b/src/lib/process/daemon.cc index d95e38651b..b0491b80b4 100644 --- a/src/lib/process/daemon.cc +++ b/src/lib/process/daemon.cc @@ -23,6 +23,7 @@ #include using namespace isc::data; +using namespace isc::util; using namespace isc::util::file; /// @brief provides default implementation for basic daemon operations @@ -238,7 +239,7 @@ Daemon::createPIDFile(int pid) { } // Acquire a lock for check and write operations. - util::PIDLock pid_lock(getPIDLockName()); + PIDLock pid_lock(getPIDLockName()); if (!pid_lock.isLocked()) { isc_throw(DaemonPIDExists, "Daemon::createPIDFile: can't lock, " "PID lock file: " << getPIDLockName()); diff --git a/src/lib/util/pid_file.h b/src/lib/util/pid_file.h index 6637e2cdcc..7b806c356a 100644 --- a/src/lib/util/pid_file.h +++ b/src/lib/util/pid_file.h @@ -127,7 +127,7 @@ public: } private: - /// @brief Name of the Lock file. + /// @brief Name of the lock file. std::string lockname_; /// @brief File descriptor to the lock file.