[libvirt] [PATCH] util: Fix travis build error

John Ferlan posted 1 patch 5 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180920190102.27948-1-jferlan@redhat.com
src/util/virresctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] util: Fix travis build error
Posted by John Ferlan 5 years, 7 months ago
Commit 12093f1f used %ld instead of %zd for a size_t.

Signed-off-by: John Ferlan <jferlan@redhat.com>
---

 Sigh, always something simple.
 Pushed under the build breaker rule.

 src/util/virresctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virresctrl.c b/src/util/virresctrl.c
index eddcc41b67..1019bb52cc 100644
--- a/src/util/virresctrl.c
+++ b/src/util/virresctrl.c
@@ -676,7 +676,7 @@ virResctrlGetMonitorInfo(virResctrlInfoPtr resctrl)
     }
 
     features = virStringSplitCount(featurestr, "\n", 0, &nfeatures);
-    VIR_DEBUG("Resctrl supported %ld monitoring features", nfeatures);
+    VIR_DEBUG("Resctrl supported %zd monitoring features", nfeatures);
 
     info_monitor->nfeatures = nfeatures;
     VIR_STEAL_PTR(info_monitor->features, features);
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list