mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Added some more verbosity to a warning
This commit is contained in:
parent
51c26c0bb1
commit
e6b7a668ee
1 changed files with 2 additions and 1 deletions
|
@ -211,7 +211,7 @@ static void * recv_loop(void *ctx)
|
|||
if (allocated < 0)
|
||||
error("Failed to allocate %u samples from receive pool.", node->in.vectorize);
|
||||
else if (allocated < node->in.vectorize)
|
||||
warn("Receive pool underrun");
|
||||
warn("Receive pool underrun: allocated only %i of %i samples", allocated, node->in.vectorize);
|
||||
|
||||
release = allocated;
|
||||
|
||||
|
@ -219,6 +219,7 @@ static void * recv_loop(void *ctx)
|
|||
if (recv < 0)
|
||||
warn("Failed to receive samples from node %s: reason=%d", node_name(node), recv);
|
||||
|
||||
|
||||
io_print(&io, smps, recv);
|
||||
|
||||
sample_put_many(smps, release);
|
||||
|
|
Loading…
Add table
Reference in a new issue