[commit: ghc] ghc-7.10: InteractiveUI: Fix previous commit (6563052)

git at git.haskell.org git at git.haskell.org
Thu Oct 22 16:33:46 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/65630525db41e31cc309a59c363aca0869a63760/ghc

>---------------------------------------------------------------

commit 65630525db41e31cc309a59c363aca0869a63760
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Oct 22 18:04:36 2015 +0200

    InteractiveUI: Fix previous commit
    
    Some day I'll learn to validate before pushing.


>---------------------------------------------------------------

65630525db41e31cc309a59c363aca0869a63760
 ghc/InteractiveUI.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index ec82e3d..4b50b01 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
 



More information about the ghc-commits mailing list