G++11 Errors

This commit is contained in:
Robin Davies
2022-04-23 12:38:12 -04:00
parent 51c1fb6da9
commit 469b0c0c69
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ void DeviceIdFile::Save()
{
throw logic_error("Group not found: pipedal_d");
}
chown(path.c_str(),-1,group_->gr_gid);
chmod(path.c_str(), S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH);
std::ignore = chown(path.c_str(),-1,group_->gr_gid);
std::ignore = chmod(path.c_str(), S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH);
f << uuid << endl;