You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2015/05/15 17:26:00 UTC
[jira] [Resolved] (TS-3605) syntax error on Cache.cc
[ https://issues.apache.org/jira/browse/TS-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach resolved TS-3605.
-----------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
Assignee: James Peach
thanks [~oknet]
> 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
> Assignee: James Peach
> Fix For: 6.0.0
>
>
> 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)