aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-18 18:38:22 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-18 18:38:22 +0200
commitbc0a75f258d03f12496d7fd9113d81114dcac641 (patch)
tree102e911ab4af141c67b17ce9790d6e82c8d0ac90 /URPM.xs
parenta9581d6300a6790b5b36e145103fb5a6a444449f (diff)
downloadperl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar
perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.gz
perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.bz2
perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.tar.xz
perl-URPM-bc0a75f258d03f12496d7fd9113d81114dcac641.zip
fix another (old) compilation warnings
use rpmTagGetValue() to get the char* name of the tag
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index f9ab5a0..6334a3b 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -589,7 +589,7 @@ return_list_tag(const URPM__Package pkg, rpmTag tag_name) {
mXPUSHs(newSVpv(pkg->summary, 0));
break;
default:
- croak("unexpected tag %s", tag_name);
+ croak("unexpected tag %s", rpmTagGetName(tag_name));
break;
}
if (data) {