diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-03-08 13:44:18 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-03-08 13:44:18 +0000 |
commit | 6df8834b630b7feb443669639a7b222ef38f0608 (patch) | |
tree | 984a218d51bafb71968a0d809cebb3bcbd68c84c /System/Posix/Env.hsc | |
parent | 6aca925ef28bf0a0a311bc8e33ec9a5aa2ded6ad (diff) |
fix cut-and-pasto in error message
Diffstat (limited to 'System/Posix/Env.hsc')
-rw-r--r-- | System/Posix/Env.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Env.hsc b/System/Posix/Env.hsc index f426f98..bd3f1ce 100644 --- a/System/Posix/Env.hsc +++ b/System/Posix/Env.hsc @@ -109,7 +109,7 @@ setEnv :: String -> String -> Bool {-overwrite-} -> IO () setEnv key value ovrwrt = do withCString key $ \ keyP -> withCString value $ \ valueP -> - throwErrnoIfMinus1_ "putenv" $ + throwErrnoIfMinus1_ "setenv" $ c_setenv keyP valueP (fromIntegral (fromEnum ovrwrt)) foreign import ccall unsafe "setenv" |