Correct return code of isAMDGpu()

Also, correct some comments, whitespace.
This commit is contained in:
Chris Freehill committed 2019-05-13 18:02:03 -05:00
1 vanhempi ae7ca83920
commit 53489c1f3d
2 files changed
+7 -2

No files matched your search

+1 -1
Näytä tiedosto
@@ -348,7 +348,7 @@ static bool isAMDGPU(std::string dev_path) {
fs.open(vend_path);
if (!fs.is_open()) {
return errno;
return false;
}
uint32_t vendor_id;