mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
supplement to 3acaf2653e
Origin commit data
------------------
Commit: 30b1c3f286
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-06-13 (Tue, 13 Jun 2017)
This commit is contained in:
@@ -860,7 +860,7 @@ static size_t getCachedMemSize(void)
|
|||||||
size_t cached = 0;
|
size_t cached = 0;
|
||||||
if (procmeminfo) {
|
if (procmeminfo) {
|
||||||
char buf[80] = {0}, a[80] = {0};
|
char buf[80] = {0}, a[80] = {0};
|
||||||
size_t v = 0;
|
long long unsigned int v = 0;
|
||||||
while (fgets(buf, sizeof(buf), procmeminfo)) {
|
while (fgets(buf, sizeof(buf), procmeminfo)) {
|
||||||
char unit[10];
|
char unit[10];
|
||||||
*unit = 0;
|
*unit = 0;
|
||||||
|
Reference in New Issue
Block a user