aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/bench_results.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-06-20 17:34:19 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-06-20 21:10:32 -0700
commit80c9eede822f4d2466bdead6d0b58ec49477401b (patch)
treebaceec7307f97f4f91c73060a2796d070d60b682 /modules/benchmark/bench_results.c
parentdb75710e03bdfa66aa972dcc4e30012364369046 (diff)
move devices/memory to computer/memory usage
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/benchmark/bench_results.c')
-rw-r--r--modules/benchmark/bench_results.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark/bench_results.c b/modules/benchmark/bench_results.c
index d0239326..a4335151 100644
--- a/modules/benchmark/bench_results.c
+++ b/modules/benchmark/bench_results.c
@@ -156,7 +156,7 @@ bench_machine *bench_machine_this() {
m->cpu_config = module_call_method("devices::getProcessorFrequencyDesc");
m->gpu_desc = module_call_method("devices::getGPUList");
m->ogl_renderer = module_call_method("computer::getOGLRenderer");
- tmp = module_call_method("devices::getMemoryTotal");
+ tmp = module_call_method("computer::getMemoryTotal");
m->memory_kiB = atoi(tmp);
free(tmp);