1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

lib/card: fix assignment in assertion

This commit is contained in:
daniel-k 2017-11-22 11:20:44 +01:00
parent a5845eb397
commit 1fcabd1bdd

View file

@ -36,7 +36,7 @@
int fpga_card_init(struct fpga_card *c, struct pci *pci, struct vfio_container *vc)
{
assert(c->state = STATE_DESTROYED);
assert(c->state == STATE_DESTROYED);
c->vfio_container = vc;
c->pci = pci;