summaryrefslogtreecommitdiff
path: root/lib/rpmlock.c
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:55:24 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:55:24 +0200
commitc4095e623388d170df6da5673683a5215588924a (patch)
tree163d465101ed239071a3d29e0f7c7a31fa71cd90 /lib/rpmlock.c
parent7b40f37483f8e3f2defa5f44aa819150f94597fb (diff)
downloadrpm-c4095e623388d170df6da5673683a5215588924a.tar.gz
rpm-c4095e623388d170df6da5673683a5215588924a.tar.bz2
rpm-c4095e623388d170df6da5673683a5215588924a.zip
Use LOCALSTATEDIR instead of hard-coded /var.
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@*/