aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.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.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.c')
-rw-r--r--modules/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index 1a72e983..6af4d5c1 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -652,7 +652,7 @@ static gchar *get_benchmark_results()
gchar *machine = module_call_method("devices::getProcessorName");
gchar *machineclock = module_call_method("devices::getProcessorFrequency");
- gchar *machineram = module_call_method("devices::getMemoryTotal");
+ gchar *machineram = module_call_method("computer::getMemoryTotal");
gchar *result = g_strdup_printf("[param]\n"
"machine=%s\n"
"machineclock=%s\n"