Skip to content

Commit

Permalink
Define diskusage as an absolute value (GB or TB). This is merge from …
Browse files Browse the repository at this point in the history
…master.
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 35312db commit 64ad760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdFileCache/XrdFileCacheConfiguration.cc
Expand Up @@ -225,12 +225,12 @@ bool Cache::ConfigParameters(std::string part, XrdOucStream& config )
errno = 0;
float lwmf = strtod(minV.c_str(), &eP);
if (errno || eP == minV.c_str()) {
m_log.Emsg("Cache::ConfigParameters() error parsing diskusage parameter ", minV.c_str());
m_log.Emsg("Factory::ConfigParameters() error parsing diskusage parameter ", minV.c_str());
return false;
}
float hwmf = strtod(maxV.c_str(), &eP);
if (errno || eP == maxV.c_str()) {
m_log.Emsg("Cache::ConfigParameters() error parsing diskusage parameter ", maxV.c_str());
m_log.Emsg("Factory::ConfigParameters() error parsing diskusage parameter ", maxV.c_str());
return false;
}

Expand Down

0 comments on commit 64ad760

Please sign in to comment.