diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-07-18 14:15:43 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-07-18 14:15:43 +0000 |
commit | a20d462e8e97cfa733af4642fb8fd2375f06ce2e (patch) | |
tree | b3a740b7c2a2bf7ea86e1d41cda95cb2de84b5e5 | |
parent | 469acd14bc4e31a556744f9a1187310f06b9bc8a (diff) | |
download | rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.gz rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.bz2 rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.xz rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.zip |
fix printf format
-rw-r--r-- | parsehdlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsehdlist.c b/parsehdlist.c index 5440adb..4947b04 100644 --- a/parsehdlist.c +++ b/parsehdlist.c @@ -162,7 +162,7 @@ void print_list_files(Header header, char *format, char *name, int moreinfo) { headerGetEntry(header, RPMTAG_DIRINDEXES, &type, (void **) &dirIndexes, NULL); headerGetEntry(header, RPMTAG_DIRNAMES, &type, (void **) &dirNames, NULL); if (moreinfo) - printf("NAME<%s> VERSION<%s> RELEASE<%s> ARCH<%s> EPOCH<%d> SIZE<%d> GROUP<%s>\n", + printf("NAME<%s> VERSION<%s> RELEASE<%s> ARCH<%s> EPOCH<%ld> SIZE<%ld> GROUP<%s>\n", get_name(header, RPMTAG_NAME), get_name(header, RPMTAG_VERSION), get_name(header, RPMTAG_RELEASE), get_name(header, RPMTAG_ARCH), (long)get_name(header, RPMTAG_EPOCH), (long)get_name(header, RPMTAG_SIZE), get_name(header, RPMTAG_GROUP)); if (baseNames && dirNames && dirIndexes) { |