]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: add missing equal sign in initialization
authorJán Tomko <jtomko@redhat.com>
Thu, 13 Apr 2017 12:02:46 +0000 (14:02 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 13 Apr 2017 12:02:46 +0000 (14:02 +0200)
Fix the build with clang:
util/virperf.c:86:27: error: use of GNU 'missing =' extension
    in designator [-Werror,-Wgnu-designator]
    [VIR_PERF_EVENT_MBML] {
                          ^
                          =

src/util/virperf.c

index 9ac27c146a167cac0c2931acaf163f524532fd56..fa5b6cca64977dfa3a69616bab26da1bd3c3eb66 100644 (file)
@@ -83,7 +83,7 @@ static struct virPerfEventAttr attrs[] = {
         .attrType = 0,
         .attrConfig = 2
     },
-    [VIR_PERF_EVENT_MBML] {
+    [VIR_PERF_EVENT_MBML] {
         .attrType = 0,
         .attrConfig = 3
     },