From 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Sun, 8 Jul 2018 17:42:58 +0200 Subject: Consistency with 80 char limit and breaks --- components/ram.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/ram.c') diff --git a/components/ram.c b/components/ram.c index d2fbce9..1d5b1da 100644 --- a/components/ram.c +++ b/components/ram.c @@ -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; } -- cgit v1.2.3