Skip to content

Commit

Permalink
Fix string format bug in oneinstancelock
Browse files Browse the repository at this point in the history
  • Loading branch information
halfgaar committed May 20, 2024
1 parent 5a61fca commit 592142d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneinstancelock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void OneInstanceLock::unlock()
{
if (unlink(lockFilePath.c_str()) < 0)
{
logger->logf(LOG_ERR, "Can't delete '%': %s", lockFilePath.c_str(), strerror(errno));
logger->log(LOG_ERR) << "Can't delete '" << lockFilePath << "': " << strerror(errno);
}
lockFilePath.clear();
}
Expand Down

0 comments on commit 592142d

Please sign in to comment.