Merge pull request #311 from RobbKistler/dbg-message

Change error log to debug log in s3fs_read()
This commit is contained in:
Takeshi Nakatani 2015-12-08 00:03:48 +09:00
commit 2b3ece467b

View File

@ -2074,7 +2074,7 @@ static int s3fs_read(const char* path, char* buf, size_t size, off_t offset, str
// check real file size
size_t realsize = 0;
if(!ent->GetSize(realsize) || realsize <= 0){
S3FS_PRN_ERR("file size is 0, so break to read.");
S3FS_PRN_DBG("file size is 0, so break to read.");
FdManager::get()->Close(ent);
return 0;
}