summaryrefslogtreecommitdiffhomepage
path: root/Monitors/Common.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Monitors/Common.hs')
-rw-r--r--Monitors/Common.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Monitors/Common.hs b/Monitors/Common.hs
index 390f383..306d46f 100644
--- a/Monitors/Common.hs
+++ b/Monitors/Common.hs
@@ -20,7 +20,7 @@ module Monitors.Common (
, Opts (..)
, setConfigValue
, getConfigValue
- , newConfig
+ , mkMConfig
, runMonitor
, runM
, io
@@ -99,13 +99,13 @@ getConfigValue :: Selector a -> Monitor a
getConfigValue s =
sel s
-newConfig :: String
+mkMConfig :: String
-> String
-> String
-> [OptDescr Opts]
-> [String]
-> IO MConfig
-newConfig tmpl pkg usg args exprts =
+mkMConfig tmpl pkg usg args exprts =
do lc <- newIORef Nothing
l <- newIORef 33
nc <- newIORef Nothing