提交 b80b0c45 编写于 作者: J Ján Tomko

util: add missing equal sign in initialization

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] {
                          ^
                          =
上级 5a990e0b
...@@ -83,7 +83,7 @@ static struct virPerfEventAttr attrs[] = { ...@@ -83,7 +83,7 @@ static struct virPerfEventAttr attrs[] = {
.attrType = 0, .attrType = 0,
.attrConfig = 2 .attrConfig = 2
}, },
[VIR_PERF_EVENT_MBML] { [VIR_PERF_EVENT_MBML] = {
.attrType = 0, .attrType = 0,
.attrConfig = 3 .attrConfig = 3
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册