diff options
Diffstat (limited to 'components/swap.c')
-rw-r--r-- | components/swap.c | 4 |
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; } |