summaryrefslogtreecommitdiff
path: root/lib/rpmlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmlock.c')
-rw-r--r--lib/rpmlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlock.c b/lib/rpmlock.c
index 30a6c8852..c493e88ae 100644
--- a/lib/rpmlock.c
+++ b/lib/rpmlock.c
@@ -11,7 +11,7 @@
/* Internal interface */
-#define RPMLOCK_PATH "/var/lock/rpm/transaction"
+#define RPMLOCK_PATH LOCALSTATEDIR "/lock/rpm/transaction"
/*@unchecked@*/ /*@observer@*/
static const char * rpmlock_path_default = "%{?_rpmlock_path}";
/*@unchecked@*/