diff options
| -rw-r--r-- | Monitors/Swap.hs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Monitors/Swap.hs b/Monitors/Swap.hs index 6848228..96b32f1 100644 --- a/Monitors/Swap.hs +++ b/Monitors/Swap.hs @@ -42,7 +42,7 @@ parseMEM =         let p x y = flip (/) 1024 . read . stringParser x $ y             tot = p (1,11) file             free = p (1,12) file -       return [tot, (tot - free), free, free / tot * 100] +       return [tot, (tot - free), free, (tot - free) / tot * 100]  formatMem :: [Float] -> Monitor [String]   formatMem x = | 
