mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Fix bug where smp->capacity value is not initialized
This commit is contained in:
parent
e25e02a325
commit
59af01cc33
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ static void * path_run(void *arg)
|
|||
debug(DBG_PATH | 5, "Current pool status for path %s: used=%zu avail=%zu", path_name(p), p->pool.stack.size, p->pool.stack.avail);
|
||||
|
||||
/* Fill smps[] free sample blocks from the pool */
|
||||
ready += pool_get_many(&p->pool, (void **) smps, cnt - ready);
|
||||
ready += sample_get_many(&p->pool, smps, cnt - ready);
|
||||
if (ready != cnt)
|
||||
warn("Pool underrun for path %s", path_name(p));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue