From 9ad584b5762433f7c99d7cc7b65ad21ebe4ff932 Mon Sep 17 00:00:00 2001 From: Anser Date: Fri, 31 Jul 2026 09:16:23 +0200 Subject: TO BE SQUISHED:safe of current working stand, to get the logos vom ascii directory --- src/modules/memory/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/memory/memory.c') diff --git a/src/modules/memory/memory.c b/src/modules/memory/memory.c index 211cf44..62eeafe 100644 --- a/src/modules/memory/memory.c +++ b/src/modules/memory/memory.c @@ -1,12 +1,12 @@ #include #include "memory.h" -int memory(void) { +char *memory(void) { FILE *file = fopen("/proc/meminfo", "r"); if (!file) { perror("Error fopen meminfo"); - return 1; + return NULL; } char line[256]; -- cgit v1.2.3