enable printf format checking for dds_log

Also remove superfluous parameters in a TRACE statement and fix a format
specification in pong.c.

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2019-04-11 15:12:17 +02:00 committed by eboasson
parent c3dca32a2f
commit c92820677d
3 changed files with 5 additions and 3 deletions

View file

@ -1747,7 +1747,7 @@ static int handle_Gap (struct receiver_state *rst, nn_etime_t tnow, struct nn_rm
if (!pwr->have_seen_heartbeat && pwr->n_reliable_readers > 0)
{
DDS_TRACE(": no heartbeat seen yet", PGUID (pwr->e.guid), PGUID (dst));
DDS_TRACE(": no heartbeat seen yet");
ddsrt_mutex_unlock (&pwr->e.lock);
return 1;
}