mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
Update block_cache.cpp
This commit is contained in:
parent
1cf4071f9b
commit
05d336c8e9
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ struct BlockCache::Impl
|
|||
|
||||
Impl()
|
||||
{
|
||||
m_fd = open(cache_name, O_RDWR | O_CREAT);
|
||||
m_fd = open(cache_name, O_RDWR | O_CREAT, static_cast<mode_t>(0600));
|
||||
if (m_fd == -1) {
|
||||
LOGERR(1, "couldn't open/create " << cache_name);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue