diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-31 08:55:24 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-31 08:55:24 +0200 |
commit | c4095e623388d170df6da5673683a5215588924a (patch) | |
tree | 163d465101ed239071a3d29e0f7c7a31fa71cd90 /lib/rpmlock.c | |
parent | 7b40f37483f8e3f2defa5f44aa819150f94597fb (diff) | |
download | rpm-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.c | 2 |
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@*/ |