summaryrefslogtreecommitdiff
path: root/compiler/main/Finder.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main/Finder.lhs')
-rw-r--r--compiler/main/Finder.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/Finder.lhs b/compiler/main/Finder.lhs
index 3ac3a473a3..f998e295ec 100644
--- a/compiler/main/Finder.lhs
+++ b/compiler/main/Finder.lhs
@@ -635,7 +635,7 @@ cantFindErr cannot_find _ dflags mod_name find_result
from_exposed_pkg m = case lookupPackage pkg_map (modulePackageId m) of
Just pkg_config -> exposed pkg_config
- Nothing -> WARN( True, ppr m ) -- Should not happen
+ Nothing -> WARN( dflags, True, ppr m ) -- Should not happen
False
pp_exp mod = ppr (moduleName mod)