summaryrefslogtreecommitdiff
path: root/modules/devices/dmi_memory.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-11-28 18:06:45 -0600
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-12-26 17:36:47 -0800
commitaa043652d03e43557d234b76dec77cd7f2e0d656 (patch)
treeddbd14b74aefd7b4c0733a9770a8c817ca70900b /modules/devices/dmi_memory.c
parent6f43c5ce0695bd12bc399ab730857c6389a9d7f4 (diff)
bench results: add phys mem if known
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/dmi_memory.c')
-rw-r--r--modules/devices/dmi_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/dmi_memory.c b/modules/devices/dmi_memory.c
index 07113b52..270c44eb 100644
--- a/modules/devices/dmi_memory.c
+++ b/modules/devices/dmi_memory.c
@@ -963,7 +963,7 @@ gchar *memory_devices_get_system_memory_types_str() {
return ret;
}
-int memory_devices_get_system_memory_MiB() {
+uint64_t memory_devices_get_system_memory_MiB() {
dmi_mem *mem = dmi_mem_new();
int ret = (int)mem->system_memory_MiB;
dmi_mem_free(mem);