aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ff9f00a..e7d0f3d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix some compilation warnings
+
Version 5.10 - 18 October 2016
- support querying size of 4gb+ packages
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) {