From e9f8d3650c4a6afd9b59c38802f26cad34b82ff6 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Mon, 15 Sep 2025 12:19:32 +0300 Subject: [PATCH] [#4107] addressed review --- src/lib/process/daemon.cc | 3 ++- src/lib/util/pid_file.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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. -- 2.47.3