]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
utils: fix typo in lockfile
authorChris Larson <chris_larson@mentor.com>
Tue, 8 Mar 2011 16:39:40 +0000 (09:39 -0700)
committerChris Larson <chris_larson@mentor.com>
Tue, 8 Mar 2011 16:39:40 +0000 (09:39 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/utils.py

index 5a4e5731d5dabb7ffe1511d70c4092677322d6d9..bc83e7c9a342e5a65fbcc95418b0a28a8e03a026 100644 (file)
@@ -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