Use error() to display error messages.

This commit is contained in:
Alexander Pipelka 2017-09-25 20:48:20 +02:00
parent c4c2ba8d14
commit 5159508f2d
1 changed files with 2 additions and 2 deletions

View File

@ -223,8 +223,8 @@ void cSatipSectionFilter::Send(void)
// Update statistics // Update statistics
AddSectionStatistic(count, 1); AddSectionStatistic(count, 1);
} }
else else if (errno != EAGAIN)
esyslog("failed to send section data (%i bytes) to fd: %i (errno: %i)", count, socketM[1], errno); error("failed to send section data (%i bytes) [device=%d]", count, deviceIndexM);
} }
ringBufferM->Drop(section); ringBufferM->Drop(section);
} }