Consistency with 80 char limit and breaks

This commit is contained in:
Aaron Marcher
2018-07-08 17:42:58 +02:00
parent c93971748c
commit 96ddf4e1de
9 changed files with 86 additions and 82 deletions

View File

@ -40,8 +40,8 @@
return NULL;
}
return bprintf("%d", 100 * ((total - free) -
(buffers + cached)) / total);
return bprintf("%d", 100 * ((total - free) - (buffers + cached))
/ total);
}
const char *
@ -49,8 +49,8 @@
{
uintmax_t total;
if (pscanf("/proc/meminfo", "MemTotal: %ju kB\n",
&total) != 1) {
if (pscanf("/proc/meminfo", "MemTotal: %ju kB\n", &total)
!= 1) {
return NULL;
}