summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 15c684808..bfc0fba2d 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -1033,7 +1033,8 @@ int main(int argc, const char ** argv)
ia->relocations = xmalloc(2 * sizeof(*ia->relocations));
ia->relocations[0].oldPath = NULL; /* special case magic */
ia->relocations[0].newPath = ia->prefix;
- ia->relocations[1].oldPath = ia->relocations[1].newPath = NULL;
+ ia->relocations[1].oldPath = NULL;
+ ia->relocations[1].newPath = NULL;
} else if (ia->relocations) {
ia->relocations = xrealloc(ia->relocations,
sizeof(*ia->relocations) * (ia->numRelocations + 1));