summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-08-15 16:40:56 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-08-15 16:40:56 +0200
commitec35376127557bdaa8ffcac874da61554dc04460 (patch)
tree75224692abe1ca6aa16256bc0d47506ef5c544a0
parent85db24fef03fe611c3ac8151f9249af282ae9915 (diff)
simplified ram function
-rw-r--r--slstatus.c1
1 files changed, 0 insertions, 1 deletions
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 */