summaryrefslogtreecommitdiff
path: root/lib
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
parent7b40f37483f8e3f2defa5f44aa819150f94597fb (diff)
downloadlibrpm-tizen-c4095e623388d170df6da5673683a5215588924a.tar.gz
librpm-tizen-c4095e623388d170df6da5673683a5215588924a.tar.bz2
librpm-tizen-c4095e623388d170df6da5673683a5215588924a.zip
Use LOCALSTATEDIR instead of hard-coded /var.
Diffstat (limited to 'lib')
-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@*/