From 95cb5d201fd92a3f621a182dbf3e4214f032b806 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 13 Jun 2016 10:25:33 -0700 Subject: [PATCH] Correct search and replace typo --- src/fdcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdcache.cpp b/src/fdcache.cpp index 18b1e14..881f0c7 100644 --- a/src/fdcache.cpp +++ b/src/fdcache.cpp @@ -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_castruncate temporary file(%d).", tmpfd); + S3FS_PRN_ERR("failed to truncate temporary file(%d).", tmpfd); result = -EIO; break; }