From 7fae6393d5a8b449a5fbb88797d5566ecd403213 Mon Sep 17 00:00:00 2001 From: Ada Joule Date: Sat, 3 Feb 2018 23:48:52 +0700 Subject: Remove x from ghzFmt --- src/Plugins/Monitors/CpuFreq.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Plugins/Monitors') diff --git a/src/Plugins/Monitors/CpuFreq.hs b/src/Plugins/Monitors/CpuFreq.hs index 7e615a6..34240ee 100644 --- a/src/Plugins/Monitors/CpuFreq.hs +++ b/src/Plugins/Monitors/CpuFreq.hs @@ -39,6 +39,6 @@ runCpuFreq _ = do else ghzFmt x | otherwise = ghzFmt x ++ if suffix then "GHz" else "" mhzFmt x = show (round (x * 1000) :: Integer) - ghzFmt x = showDigits ddigits x + ghzFmt = showDigits ddigits failureMessage <- getConfigValue naString checkedDataRetrieval failureMessage [path] Nothing (/divisor) fmt -- cgit v1.2.3