summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2024-02-29 20:50:21 +0100
committerivan-boikov <ik.boikov.public@protonmail.com>2024-02-29 21:01:44 +0100
commit6229bf45137a8f61a8cb36e8dd8eff3e365bb4d7 (patch)
tree369ab9a14ca0049cae228c03c22ddb9eb7baba24
parentb821257f271ae6bea1bf828c514772256f5f57b6 (diff)
Excess swaptotal spacing
-rw-r--r--components/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/swap.c b/components/swap.c
index 6f47795..e205e45 100644
--- a/components/swap.c
+++ b/components/swap.c
@@ -87,7 +87,7 @@
return NULL;
//return fmt_human(total * 1024, 1024);
- return bprintf("%4.1f", total/1048576.);
+ return bprintf("%.1f", total/1048576.);
}
const char *