diff options
Diffstat (limited to 'libraries/base/System/Environment.hs')
| -rw-r--r-- | libraries/base/System/Environment.hs | 2 |
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 |
