summaryrefslogtreecommitdiff
path: root/libraries/base/System
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2015-12-08 16:43:34 +0100
committerGabor Greif <ggreif@gmail.com>2015-12-08 16:43:34 +0100
commitd7729c75c666bfeff2a70869c0613ea429202f11 (patch)
tree8573fe2a6b469e5e8a2492fcb3226e624a0e4a7a /libraries/base/System
parent6c794c311d5312ba3f92434ee6f35040d3b69353 (diff)
downloadhaskell-d7729c75c666bfeff2a70869c0613ea429202f11.tar.gz
An assortment of typos
Diffstat (limited to 'libraries/base/System')
-rw-r--r--libraries/base/System/Environment.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/System/Environment.hs b/libraries/base/System/Environment.hs
index 066329c4e7..b3fbaf8279 100644
--- a/libraries/base/System/Environment.hs
+++ b/libraries/base/System/Environment.hs
@@ -299,7 +299,7 @@ putEnv keyvalue = do
-- IMPORTANT: Do not free `s` after calling putenv!
--
-- According to SUSv2, the string passed to putenv becomes part of the
- -- enviroment.
+ -- environment.
throwErrnoIf_ (/= 0) "putenv" (c_putenv s)
foreign import ccall unsafe "putenv" c_putenv :: CString -> IO CInt