]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix travis build error
authorJohn Ferlan <jferlan@redhat.com>
Thu, 20 Sep 2018 18:57:22 +0000 (14:57 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 20 Sep 2018 18:57:22 +0000 (14:57 -0400)
Commit 12093f1f used %ld instead of %zd for a size_t.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virresctrl.c

index eddcc41b672c7f3ce86779cb7988dd10c678d9bc..1019bb52cc35ba554aafedfffc045204246790e2 100644 (file)
@@ -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);