summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index c8c00c9d7..c53a43d38 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -439,7 +439,7 @@ function _instance:filelock()
if filelock == nil then
filelock = io.openlock(path.join(self:cachedir(), "package.lock"))
if not filelock then
- os.raise("cannot create filelock for package(%s)!", package:name())
+ os.raise("cannot create filelock for package(%s)!", self:name())
end
self._FILELOCK = filelock
end