diff options
Diffstat (limited to 'vbench')
-rw-r--r-- | vbench/src/apps/vbench/vbench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbench/src/apps/vbench/vbench.cpp b/vbench/src/apps/vbench/vbench.cpp index 614856cd18c..8e13f078b45 100644 --- a/vbench/src/apps/vbench/vbench.cpp +++ b/vbench/src/apps/vbench/vbench.cpp @@ -36,7 +36,7 @@ int run(const std::string &cfg_name) { return 1; } vespalib::Slime cfg; - vespalib::slime::Memory mapped_cfg(cfg_file.get().data, + vespalib::Memory mapped_cfg(cfg_file.get().data, cfg_file.get().size); if (!vespalib::slime::JsonFormat::decode(mapped_cfg, cfg)) { fprintf(stderr, "unable to parse config file: %s\n", |