]> Zhao Yanbai Git Server - minix.git/commitdiff
Make error message conditional
authorBen Gras <ben@minix3.org>
Wed, 18 Jan 2006 09:47:22 +0000 (09:47 +0000)
committerBen Gras <ben@minix3.org>
Wed, 18 Jan 2006 09:47:22 +0000 (09:47 +0000)
lib/syslib/pci_first_dev.c

index a6befe8a6ce2bce0a44d141b5d119572fe7adcfb..b1c408efb805c57f36f37e6e6f83a0fcbf1c1159 100644 (file)
@@ -32,6 +32,8 @@ u16_t *didp;
        if (m.m_type != 0)
                panic("pci", "pci_first_dev: got bad reply from PCI", m.m_type);
 
+#if DEBUG
        printf("pci_first_dev: got nothing\n");
+#endif
        return 0;
 }