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:
		
							parent
							
								
									c3dca32a2f
								
							
						
					
					
						commit
						c92820677d
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue