summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Swap.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/Monitors/Swap.hs')
-rw-r--r--Plugins/Monitors/Swap.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Swap.hs b/Plugins/Monitors/Swap.hs
index fbddaae..d18ab8a 100644
--- a/Plugins/Monitors/Swap.hs
+++ b/Plugins/Monitors/Swap.hs
@@ -36,7 +36,7 @@ parseMEM =
formatSwap :: [Float] -> Monitor [String]
formatSwap x =
- do let f1 n = show (takeDigits 2 n)
+ do let f1 n = showDigits 2 n
f2 n = floatToPercent n
(hd, tl) = splitAt 3 x
firsts <- mapM (showWithColors f1) hd