From 6907d17985d34b1baa106e0312f8fa9d21dbf288 Mon Sep 17 00:00:00 2001 From: caand Date: Thu, 23 Jul 2020 23:40:05 +0200 Subject: [PATCH] add missing get_sysmem() when no info available --- src/frontend/com_sysinfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend/com_sysinfo.c b/src/frontend/com_sysinfo.c index 882779c58..7e92a6cd0 100644 --- a/src/frontend/com_sysinfo.c +++ b/src/frontend/com_sysinfo.c @@ -975,6 +975,11 @@ static void get_physical_processor_count(void) #else /* no Windows OS, no proc info file system */ +static int get_sysmem(struct sys_memory *memall) +{ + return -1; // Return N/A +} + void set_static_system_info(void) { /* Set to no data available */