Merge pull request #433 from andrewgaul/typo

Correct search and replace typo
This commit is contained in:
Takeshi Nakatani 2016-06-14 21:45:01 +09:00 committed by GitHub
commit 9fb3fd1a4d

View File

@ -1207,7 +1207,7 @@ int FdEntity::NoCacheLoadAndPost(off_t start, size_t size)
// after this, file length is (offset + size), but file does not use any disk space.
//
if(-1 == ftruncate(tmpfd, 0) || -1 == ftruncate(tmpfd, (offset + oneread))){
S3FS_PRN_ERR("failed to tatic_cast<size_t>runcate temporary file(%d).", tmpfd);
S3FS_PRN_ERR("failed to truncate temporary file(%d).", tmpfd);
result = -EIO;
break;
}