mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-19 18:55:12 +00:00
Merge pull request #433 from andrewgaul/typo
Correct search and replace typo
This commit is contained in:
commit
9fb3fd1a4d
@ -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.
|
// 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))){
|
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;
|
result = -EIO;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user