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:
parent
a5845eb397
commit
1fcabd1bdd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue