1
0
Fork 0

ram: Consistency with line breaks

This commit is contained in:
Aaron Marcher 2018-07-08 17:45:32 +02:00
parent e213b48122
commit dd7f1896aa

View file

@ -30,7 +30,8 @@
if (pscanf("/proc/meminfo", if (pscanf("/proc/meminfo",
"MemTotal: %ju kB\n" "MemTotal: %ju kB\n"
"MemFree: %ju kB\n" "MemFree: %ju kB\n"
"MemAvailable: %ju kB\nBuffers: %ju kB\n" "MemAvailable: %ju kB\n"
"Buffers: %ju kB\n"
"Cached: %ju kB\n", "Cached: %ju kB\n",
&total, &free, &buffers, &buffers, &cached) != 5) { &total, &free, &buffers, &buffers, &cached) != 5) {
return NULL; return NULL;
@ -65,7 +66,8 @@
if (pscanf("/proc/meminfo", if (pscanf("/proc/meminfo",
"MemTotal: %ju kB\n" "MemTotal: %ju kB\n"
"MemFree: %ju kB\n" "MemFree: %ju kB\n"
"MemAvailable: %ju kB\nBuffers: %ju kB\n" "MemAvailable: %ju kB\n"
"Buffers: %ju kB\n"
"Cached: %ju kB\n", "Cached: %ju kB\n",
&total, &free, &buffers, &buffers, &cached) != 5) { &total, &free, &buffers, &buffers, &cached) != 5) {
return NULL; return NULL;