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

refactor: rephrase log message "message" -> "sample"

This commit is contained in:
Steffen Vogel 2017-10-18 14:24:16 +02:00
parent 48452f6ed6
commit bbdacfc0b4

View file

@ -113,7 +113,7 @@ static void path_destination_enqueue(struct path *p, struct sample *smps[], unsi
sample_put_many(clones, cloned);
}
/** Main thread function per path: receive -> sent messages */
/** Main thread function per path: read samples -> write samples */
static void * path_run(void *arg)
{
int ret, recv, tomux, ready, cnt;
@ -154,7 +154,7 @@ static void * path_run(void *arg)
if (recv == 0)
goto out2;
else if (recv < 0)
error("Failed to receive message from node %s", node_name(ps->node));
error("Failed to read samples from node %s", node_name(ps->node));
else if (recv < ready)
warn("Partial read for path %s: read=%u, expected=%u", path_name(p), recv, ready);