From cf137e4155143ef795060e53aff56bc459527717 Mon Sep 17 00:00:00 2001 From: Guaxinim5573 Date: Sun, 4 Apr 2021 18:48:04 -0300 Subject: [PATCH] Fixes 0MB ram usage --- uwufetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwufetch.c b/uwufetch.c index 4907281..e346a2c 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -224,7 +224,7 @@ void get_info() { // get all necessary info FILE *meminfo; - meminfo = popen("free 2> /dev/null", "r"); + meminfo = popen("LANG=EN_us free 2> /dev/null", "r"); while (fgets(line, sizeof(line), meminfo)) { // free command prints like this: "Mem:" total used free shared buff/cache available