From ec35376127557bdaa8ffcac874da61554dc04460 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Mon, 15 Aug 2016 16:40:56 +0200 Subject: simplified ram function --- slstatus.c | 1 - 1 file changed, 1 deletion(-) (limited to 'slstatus.c') diff --git a/slstatus.c b/slstatus.c index bd1fe66..2f0fe20 100644 --- a/slstatus.c +++ b/slstatus.c @@ -359,7 +359,6 @@ ram_free(const char *null) } /* read the values */ - fscanf(fp, "MemTotal: %*d kB\n"); fscanf(fp, "MemFree: %ld kB\n", &free); /* close meminfo file */ -- cgit v1.2.3