diff options
Diffstat (limited to 'src/util/virperf.c')
-rw-r--r-- | src/util/virperf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/virperf.c b/src/util/virperf.c index 7714d57f6b..e334d415e4 100644 --- a/src/util/virperf.c +++ b/src/util/virperf.c @@ -168,7 +168,7 @@ static struct virPerfEventAttr attrs[] = { .attrConfig = PERF_COUNT_SW_EMULATION_FAULTS }, }; -verify(ARRAY_CARDINALITY(attrs) == VIR_PERF_EVENT_LAST); +verify(G_N_ELEMENTS(attrs) == VIR_PERF_EVENT_LAST); typedef struct virPerfEventAttr *virPerfEventAttrPtr; |