Commit e423dadd authored by Kamil Iskra's avatar Kamil Iskra

Fix compilation error (new with glibc 2.25?)

parent 5825d5f7
...@@ -31,7 +31,7 @@ Resource_locker::Resource_locker(const string& filename, const string& path): ...@@ -31,7 +31,7 @@ Resource_locker::Resource_locker(const string& filename, const string& path):
TRACE_LOC_ON_MASK(RESOURCE_LOCKER_MASK, "euid = %d; ruid = %d\n", TRACE_LOC_ON_MASK(RESOURCE_LOCKER_MASK, "euid = %d; ruid = %d\n",
geteuid(), getuid()); geteuid(), getuid());
_fd = open(fname.c_str(), O_WRONLY|O_CREAT); _fd = open(fname.c_str(), O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR);
if(_fd == -1) if(_fd == -1)
{ {
argo_exit(EXIT_FAILURE, "Failure to open " + filename); argo_exit(EXIT_FAILURE, "Failure to open " + filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment