summaryrefslogtreecommitdiff
path: root/components/swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/swap.c')
-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 *