diff options
author | Tomas Janousek <tomi@nomi.cz> | 2014-05-03 13:30:37 +0200 |
---|---|---|
committer | Tomas Janousek <tomi@nomi.cz> | 2014-05-03 13:30:37 +0200 |
commit | 4218ab4b76e81227364ed008d8d55a8c5f3ed1a0 (patch) | |
tree | 228c00389168df2557ddf1c8ca7665a0c2d41ce9 /src/Plugins/Monitors/CpuFreq.hs | |
parent | 899f797a129fe8f81c6fb23301f2cc88120fbdc0 (diff) | |
download | xmobar-4218ab4b76e81227364ed008d8d55a8c5f3ed1a0.tar.gz xmobar-4218ab4b76e81227364ed008d8d55a8c5f3ed1a0.tar.bz2 |
CoreCommon: Try several paths in checkedDataRetrieval
Diffstat (limited to 'src/Plugins/Monitors/CpuFreq.hs')
-rw-r--r-- | src/Plugins/Monitors/CpuFreq.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/CpuFreq.hs b/src/Plugins/Monitors/CpuFreq.hs index 8334d1a..3fe2577 100644 --- a/src/Plugins/Monitors/CpuFreq.hs +++ b/src/Plugins/Monitors/CpuFreq.hs @@ -36,4 +36,4 @@ runCpuFreq _ = do fmt x | x < 1 = (show (round (x * 1000) :: Integer)) ++ "MHz" | otherwise = (show x) ++ "GHz" failureMessage <- getConfigValue naString - checkedDataRetrieval failureMessage path Nothing (/divisor) fmt + checkedDataRetrieval failureMessage [path] Nothing (/divisor) fmt |