Skip to content

Commit 7941c68

Browse files
swelchj-xiong
authored andcommitted
prov/cxi: Fix debug assert in fi_close of counter
Element is pointer Signed-off-by: Steve Welch <[email protected]>
1 parent 58c55e9 commit 7941c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prov/cxi/src/cxip_cntr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ static int cxip_cntr_close(struct fid *fid)
771771
CXIP_DBG("Counter disabled: %p\n", cntr);
772772

773773
if (cntr->trig_cmdq != NULL) {
774-
assert(cxip_cmdq_empty(&cntr->trig_cmdq));
774+
assert(cxip_cmdq_empty(cntr->trig_cmdq));
775775
cxip_cmdq_free(cntr->trig_cmdq);
776776
cntr->trig_cmdq = NULL;
777777
}

0 commit comments

Comments
 (0)