mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
chore: update comment
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
parent
cd2851679c
commit
37d5739c5a
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ ssize_t InterruptController::waitForInterrupt(int irq) {
|
||||||
logger->warn("timeout waiting for interrupt {}", irq);
|
logger->warn("timeout waiting for interrupt {}", irq);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
// Block until there has been an interrupt, read number of interruptsvfio_device
|
// Block until there has been an interrupt, read number of interrupts
|
||||||
ssize_t ret = read(irq_vectors[0].eventFds[irq], &count, sizeof(count));
|
ssize_t ret = read(irq_vectors[0].eventFds[irq], &count, sizeof(count));
|
||||||
if (ret != sizeof(count)) {
|
if (ret != sizeof(count)) {
|
||||||
logger->error("Read failure on interrupt {}, {}", irq, ret);
|
logger->error("Read failure on interrupt {}, {}", irq, ret);
|
||||||
|
|
Loading…
Add table
Reference in a new issue