aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-18 14:15:43 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-18 14:15:43 +0000
commita20d462e8e97cfa733af4642fb8fd2375f06ce2e (patch)
treeb3a740b7c2a2bf7ea86e1d41cda95cb2de84b5e5
parent469acd14bc4e31a556744f9a1187310f06b9bc8a (diff)
downloadrpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar
rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.gz
rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.bz2
rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.tar.xz
rpmtools-a20d462e8e97cfa733af4642fb8fd2375f06ce2e.zip
fix printf format
-rw-r--r--parsehdlist.c2
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) {