From c1329432c2c69c0bb6c9aba30f775eab58f8da98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Matar=C3=A9?= Date: Sat, 4 Apr 2020 13:59:53 +0200 Subject: [PATCH] yamlconfig: replace NULL -> nullptr --- src/yamlconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yamlconfig.cpp b/src/yamlconfig.cpp index 7dea10a..00efbf7 100644 --- a/src/yamlconfig.cpp +++ b/src/yamlconfig.cpp @@ -144,7 +144,7 @@ static vector 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; }