Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
85db24f
)
simplified ram function
author
Aaron Marcher <
[email protected]
>
Mon, 15 Aug 2016 14:40:56 +0000
(16:40 +0200)
committer
Aaron Marcher (drkhsh) <
[email protected]
>
Mon, 15 Aug 2016 14:40:56 +0000
(16:40 +0200)
slstatus.c
patch
|
blob
|
history
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 */