Correct return code of isAMDGpu()

Also, correct some comments, whitespace.
이 커밋은 다음에 포함됨:
Chris Freehill가 2019-05-13 18:02:03 -05:00를 커밋했습니다
1 부모 ae7ca83920
커밋 53489c1f3d
2 파일이 변경됨
+7 -2

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -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;