Skip to content

Commit

Permalink
yamlconfig: replace NULL -> nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatare committed Apr 4, 2020
1 parent 2045cf2 commit c132943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yamlconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static vector<string> find_hwmons_by_name(string path, string name, unsigned cha
}

struct dirent **entries;
int nentries = ::scandir(path.c_str(), &entries, filter_subdirs, NULL);
int nentries = ::scandir(path.c_str(), &entries, filter_subdirs, nullptr);
if (nentries == -1) {
return result;
}
Expand Down

0 comments on commit c132943

Please sign in to comment.