From 65630525db41e31cc309a59c363aca0869a63760 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Thu, 22 Oct 2015 18:04:36 +0200
Subject: [PATCH] InteractiveUI: Fix previous commit

Some day I'll learn to validate before pushing.
---
 ghc/InteractiveUI.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index ec82e3d39d96..4b50b01d8f48 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -614,7 +614,7 @@ checkPerms name =
       -- #8248: Improving warning to include a possible fix.
       putStrLn $ "*** WARNING: " ++ name ++
                  " is writable by someone else, IGNORING!" ++
-                 "\nSuggested fix: execute 'chmod go-w " ++ file ++ "'"
+                 "\nSuggested fix: execute 'chmod go-w " ++ name ++ "'"
     return ok
 #endif
 
-- 
GitLab