summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-08 09:39:40 -0700
committerChris Larson <chris_larson@mentor.com>2011-03-08 09:39:40 -0700
commit53a10b6793c5bdb45854483abe5da791058dfd84 (patch)
treef18acb4c6a5a6779785393f48570a6785eeff8bb
parent238151441c74db53d6e4d4753f4f96c32f6f13b6 (diff)
downloadbitbake-53a10b6793c5bdb45854483abe5da791058dfd84.tar.gz
utils: fix typo in lockfile
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 5a4e5731d..bc83e7c9a 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -412,7 +412,7 @@ def lockfile(name, shared=False):
if not os.access(dirname, os.W_OK):
logger.error("Unable to acquire lock '%s', directory is not writable",
- dirname)
+ name)
sys.exit(1)
op = fcntl.LOCK_EX