diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp index 9dc36f3..677d35a 100644 --- a/user_channel/channel_mgmt.cpp +++ b/user_channel/channel_mgmt.cpp @@ -1083,10 +1083,10 @@ int ChannelConfig::readChannelPersistData() log("Error in opening IPMI Channel data file"); return -EIO; } - else if (!std::filesystem::file_size(channelNvDataFilename)) + else if (!std::experimental::filesystem::file_size(channelNvDataFilename)) { log("NV file (channelNvDataFilename) has a size of zero"); - if (std::filesystem::remove(channelNvDataFilename)) + if (std::experimental::filesystem::remove(channelNvDataFilename)) { log("NV file (channelNvDataFilename) is deleted"); }