projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85db24f
)
simplified ram function
author
Aaron Marcher
<info@nulltime.net>
Mon, 15 Aug 2016 14:40:56 +0000
(16:40 +0200)
committer
Aaron Marcher (drkhsh)
<info@nulltime.net>
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 bd1fe667d0c548e7232e2ae5b7395d1d952bec10..2f0fe20dad4e92c871413eff080c79d898777a91 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 */