Loading cmds/statsd/src/storage/StorageManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ using std::unique_ptr; void StorageManager::writeFile(const char* file, const void* buffer, int numBytes) { int fd = open(file, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); if (fd != -1) { if (fd == -1) { VLOG("Attempt to access %s but failed", file); return; } Loading Loading
cmds/statsd/src/storage/StorageManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ using std::unique_ptr; void StorageManager::writeFile(const char* file, const void* buffer, int numBytes) { int fd = open(file, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); if (fd != -1) { if (fd == -1) { VLOG("Attempt to access %s but failed", file); return; } Loading