Skip to content

Commit

Permalink
Fix typo that was blocking compilation on gcc 6
Browse files Browse the repository at this point in the history
  • Loading branch information
KlipperKyle committed Jun 26, 2016
1 parent f652c05 commit cfa32c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/acpitemp.cc
Expand Up @@ -118,12 +118,12 @@ void ACPITemp::getacpitemp( void ) {
std::ifstream high_file(_highfile);

if (!temp_file) {
std::cerr << "Can not open file : " << temp_file << std::endl;
std::cerr << "Can not open file : " << _tempfile << std::endl;
parent_->done(1);
return;
}
if (!high_file) {
std::cerr << "Can not open file : " << high_file << std::endl;
std::cerr << "Can not open file : " << _highfile << std::endl;
parent_->done(1);
return;
}
Expand Down

0 comments on commit cfa32c3

Please sign in to comment.