From 5ea4a8da04237154d2b9817fe8218def0bbcfb1a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 12 Feb 2019 18:01:44 -0800 Subject: [PATCH] modules/console: Minor fixes. --- modules/console.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/console.cc b/modules/console.cc index 163325c26..dbc579976 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -193,7 +193,7 @@ _console_command(opt &out, const auto &ptr{cmd->ptr}; using prototype = bool (struct opt &, const string_view &); - return ptr.operator()(out, args); + return ptr.operator()(out, args); } /// This function may be linked and called by those wishing to execute a @@ -1279,7 +1279,7 @@ console_cmd__mod__exports(opt &out, const string_view &line) "Module '%s' is not loaded", name }; - const module &module + const module module { name }; @@ -2892,7 +2892,7 @@ _print_sst_info_full(opt &out, const auto blocks_size{f.keys_size + f.values_size}; const auto index_size{f.index_size + f.top_index_size}; const auto overhead_size{index_size + f.filter_size}; - const auto file_size{overhead_size + blocks_size}; + const auto file_size{overhead_size + f.data_size}; close_size("size", file_size); close_size("head size", overhead_size);