Fix compilation errors after merge 6.2

This commit is contained in:
Meng Xu 2019-10-02 13:28:24 -07:00
parent d0147e5e5d
commit e26270b17f
1 changed files with 1 additions and 1 deletions

View File

@ -1577,7 +1577,7 @@ int main(int argc, char* argv[]) {
// evictionPolicyStringToEnum will throw an exception if the string is not recognized as a valid
EvictablePageCache::evictionPolicyStringToEnum(flowKnobs->CACHE_EVICTION_POLICY);
if (memLimit <= FLOW_KNOBS->PAGE_CACHE_4K) {
if (opts.memLimit <= FLOW_KNOBS->PAGE_CACHE_4K) {
fprintf(stderr, "ERROR: --memory has to be larger than --cache_memory\n");
flushAndExit(FDB_EXIT_ERROR);
}