summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 616309009b..1f6fb6c36b 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -770,7 +770,7 @@ abiHash strs = do
r <- findImportedModule hsc_env modname Nothing
case r of
Found _ m -> return m
- _error -> ghcError $ CmdLineError $ showSDoc $
+ _error -> ghcError $ CmdLineError $ showSDoc dflags $
cannotFindInterface dflags modname r
mods <- mapM find_it (map fst strs)
@@ -785,7 +785,7 @@ abiHash strs = do
mapM_ (put_ bh . mi_mod_hash) ifaces
f <- fingerprintBinMem bh
- putStrLn (showSDoc (ppr f))
+ putStrLn (showPpr dflags f)
-- -----------------------------------------------------------------------------
-- Util