Skip to content

Commit c132943

Browse files
committed
yamlconfig: replace NULL -> nullptr
1 parent 2045cf2 commit c132943

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/yamlconfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static vector<string> find_hwmons_by_name(string path, string name, unsigned cha
144144
}
145145

146146
struct dirent **entries;
147-
int nentries = ::scandir(path.c_str(), &entries, filter_subdirs, NULL);
147+
int nentries = ::scandir(path.c_str(), &entries, filter_subdirs, nullptr);
148148
if (nentries == -1) {
149149
return result;
150150
}

0 commit comments

Comments
 (0)