Oknet Xu created TS-3605:
----------------------------

             Summary: syntax error on Cache.cc
                 Key: TS-3605
                 URL: https://issues.apache.org/jira/browse/TS-3605
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Oknet Xu


a patch here.

diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index ae647f0..2de1a66 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -666,7 +666,7 @@ CacheProcessor::start_internal(int flags)
           struct stat sbuf;
           diskok = 0;
           if (-1 == fstat(fd, &sbuf)) {
-            fprintf(stderr, "Failed to stat cache file for directory %s\n", 
path)
+            fprintf(stderr, "Failed to stat cache file for directory %s\n", 
path);
           } else if (blocks != sbuf.st_size / STORE_BLOCK_SIZE) {
             fprintf(stderr, "Cache file for directory %s is %" PRId64 " bytes, 
expected %" PRId64 "\n", path, sbuf.st_size,
                     blocks * STORE_BLOCK_SIZE);




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to