Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
simplified ram function
[slstatus.git]
/
slstatus.c
diff --git
a/slstatus.c
b/slstatus.c
index
bd1fe66
..
2f0fe20
100644
(file)
--- 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 */