fix trace print of tkmap_instance address
Fix the trace to contain a print of the address of the tkamp_instance (along with the instance id), rather than the address of the stack variable pointing to the tkmap_instance. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
		
							parent
							
								
									a94a2296fe
								
							
						
					
					
						commit
						069688bb76
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -203,7 +203,7 @@ retry:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (tk && rd)
 | 
					  if (tk && rd)
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    DDS_TRACE("tk=%p iid=%"PRIx64" ", (void *) &tk, tk->m_iid);
 | 
					    DDS_TRACE("tk=%p iid=%"PRIx64" ", (void *) tk, tk->m_iid);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  return tk;
 | 
					  return tk;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue