Correct search and replace typo

This commit is contained in:
Andrew Gaul 2016-06-13 10:25:33 -07:00
parent 36917f7780
commit 95cb5d201f

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;
}