Use %p instead of %x to print void *.
Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net> Acked-by: Jonathan Kollasch <jakllsch@kollasch.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		
				
					committed by
					
						
						Myles Watson
					
				
			
			
				
	
			
			
			
						parent
						
							a5a776131a
						
					
				
				
					commit
					b7a7b7903b
				
			@@ -6,7 +6,7 @@
 | 
				
			|||||||
static inline void print_debug_addr(const char *str, void *val)
 | 
					static inline void print_debug_addr(const char *str, void *val)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#if CONFIG_DEBUG_CAR
 | 
					#if CONFIG_DEBUG_CAR
 | 
				
			||||||
		printk(BIOS_DEBUG, "------Address debug: %s%x------\n", str, val);
 | 
						printk(BIOS_DEBUG, "------Address debug: %s%p------\n", str, val);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user