summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r--lib/rpmfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 2e369252a..922c6141c 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1282,7 +1282,7 @@ if (fi->actions == NULL)
&& !headerIsSource(h)
&& !headerIsEntry(h, RPMTAG_ORIGBASENAMES))
{
- const char * fmt = rpmGetPath("%{?_autorelocate_path}", NULL);
+ char * fmt = rpmGetPath("%{?_autorelocate_path}", NULL);
const char * errstr;
char * newPath;
Header foo;