aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/pathlocks.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-05-03 08:01:25 -0600
committerBen Burdette <bburdette@gmail.com>2020-05-03 08:01:25 -0600
commitab6f0b9641ad6e9cef72f73d23e31138a97a225b (patch)
treec9c8a4e44a0657f6fb186e2401799846847673f5 /src/libstore/pathlocks.cc
parent4b99c09f5ccd385d2bf0c82a8c9a4ae1658abbe8 (diff)
convert some printError calls to logError
Diffstat (limited to 'src/libstore/pathlocks.cc')
-rw-r--r--src/libstore/pathlocks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc
index 52d430ffd..926f4ea1e 100644
--- a/src/libstore/pathlocks.cc
+++ b/src/libstore/pathlocks.cc
@@ -160,7 +160,8 @@ void PathLocks::unlock()
if (close(i.first) == -1)
printError(
- format("error (ignored): cannot close lock file on '%1%'") % i.second);
+ "error (ignored): cannot close lock file on '%1%'",
+ i.second);
debug(format("lock released on '%1%'") % i.second);
}