summaryrefslogtreecommitdiff
path: root/components/swap.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-07-08 17:42:58 +0200
committerAaron Marcher <me@drkhsh.at>2018-07-08 17:42:58 +0200
commit96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc (patch)
tree75f6d95fc7bbe3464c5f47574ab36a7514d0382e /components/swap.c
parentc93971748cb4771aec25aee6e8ff5b7bbb1aacf3 (diff)
Consistency with 80 char limit and breaks
Diffstat (limited to 'components/swap.c')
-rw-r--r--components/swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/swap.c b/components/swap.c
index b3b519e..97428de 100644
--- a/components/swap.c
+++ b/components/swap.c
@@ -40,8 +40,8 @@
for (i = 0; i < LEN(ent); i++) {
if (ent[i].var &&
!strncmp(line, ent[i].name, ent[i].len)) {
- sscanf(line + ent[i].len + 1, "%ld kB\n",
- ent[i].var);
+ sscanf(line + ent[i].len + 1,
+ "%ld kB\n", ent[i].var);
left--;
break;
}