Make error message conditional
This commit is contained in:
		
							parent
							
								
									093cfe1143
								
							
						
					
					
						commit
						a85797f486
					
				| @ -32,6 +32,8 @@ u16_t *didp; | |||||||
| 	if (m.m_type != 0) | 	if (m.m_type != 0) | ||||||
| 		panic("pci", "pci_first_dev: got bad reply from PCI", m.m_type); | 		panic("pci", "pci_first_dev: got bad reply from PCI", m.m_type); | ||||||
| 
 | 
 | ||||||
|  | #if DEBUG | ||||||
| 	printf("pci_first_dev: got nothing\n"); | 	printf("pci_first_dev: got nothing\n"); | ||||||
|  | #endif | ||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ben Gras
						Ben Gras