diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-27 14:39:39 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-27 14:39:39 +0300 |
commit | b55b066e9c30ec4962434fa73d701083fb4d5364 (patch) | |
tree | ddeba8a4da3b840b0980d16e0ba2e999f6685605 | |
parent | 5f42506680ce69837d4708d38b27a7cfe346b024 (diff) | |
download | rpm-b55b066e9c30ec4962434fa73d701083fb4d5364.tar.gz rpm-b55b066e9c30ec4962434fa73d701083fb4d5364.tar.bz2 rpm-b55b066e9c30ec4962434fa73d701083fb4d5364.zip |
Use correct formatters for debug-printing in rpmtsInitDSI()
-rw-r--r-- | lib/rpmts.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index 7565cf6c3..1333baa41 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -4,6 +4,8 @@ */ #include "system.h" +#include <inttypes.h> + #include <rpm/rpmtypes.h> #include <rpm/rpmlib.h> /* rpmReadPackage etc */ #include <rpm/rpmurl.h> @@ -1188,7 +1190,8 @@ int rpmtsInitDSI(const rpmts ts) /* XXX assigning negative value to unsigned type */ dsi->iavail = !(sfb.f_ffree == 0 && sfb.f_files == 0) ? sfb.f_ffree : -1; - rpmlog(RPMLOG_DEBUG, "%5d 0x%08x %8lld %12lld %12lld %s\n", + rpmlog(RPMLOG_DEBUG, + "%5d 0x%08x %8" PRId64 " %12" PRId64 " %12" PRId64" %s\n", i, (unsigned) dsi->dev, dsi->bsize, dsi->bavail, dsi->iavail, ts->filesystems[i]); |