summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/base/System/IO.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/System/IO.hs b/libraries/base/System/IO.hs
index 864037d268..265507d970 100644
--- a/libraries/base/System/IO.hs
+++ b/libraries/base/System/IO.hs
@@ -476,7 +476,7 @@ openTempFile :: FilePath -- ^ Directory in which to create the file
-- the created file will be \"fooXXX.ext\" where XXX is some
-- random number. Note that this should not contain any path
-- separator characters. On Windows, the template prefix may
- -- be trunacted to 3 chars, e.g. \"foobar.ext\" will be
+ -- be truncated to 3 chars, e.g. \"foobar.ext\" will be
-- \"fooXXX.ext\".
-> IO (FilePath, Handle)
openTempFile tmp_dir template