summaryrefslogtreecommitdiffstats
path: root/autoirpm.update-all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'autoirpm.update-all.cc')
-rw-r--r--autoirpm.update-all.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoirpm.update-all.cc b/autoirpm.update-all.cc
index 3d13899e..90b524e0 100644
--- a/autoirpm.update-all.cc
+++ b/autoirpm.update-all.cc
@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
headerGetEntry(header, RPMTAG_NAME, &type, (void **) &name, &count);
headerGetEntry(header, RPMTAG_FILEMODES, &type, (void **) &p, &count);
- headerGetEntry(header, RPMTAG_FILENAMES, &type, (void **) &f, &count);
+ headerGetEntry(header, RPMTAG_OLDFILENAMES, &type, (void **) &f, &count);
for (; count--; *p++, *f++)
if ((*p & 040111) == 0111 &&
(s = strrchr(*f, '/')) &&