[Mesa-dev] [PATCH 2/2] loader: do not print the pci id on release builds
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 23 10:03:18 PST 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/loader/loader.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index a5bd769..a6dc40c 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -307,9 +307,11 @@ loader_get_driver_for_fd(int fd, unsigned driver_types)
}
out:
+#ifdef DEBUG
log_(driver ? _LOADER_INFO : _LOADER_WARNING,
"pci id for fd %d: %04x:%04x, driver %s",
fd, vendor_id, chip_id, driver);
+#endif
return driver;
}
--
1.8.5.2
More information about the mesa-dev
mailing list