summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2015-06-08 17:15:09 +0200
committerGabor Greif <ggreif@gmail.com>2015-06-12 11:23:34 +0200
commit0ef71740f6cc5ffddc08eb610b4add7fbdaab54a (patch)
tree57b336b7687d20fcf92acebc1e6631f4d35f7671 /rts
parent016bbfd261b91193baa99ec008b469a70c66b8be (diff)
downloadhaskell-0ef71740f6cc5ffddc08eb610b4add7fbdaab54a.tar.gz
Squash typos in comments
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c2
-rw-r--r--rts/Trace.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index bbf75bfd79..f3b170b501 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1692,7 +1692,7 @@ initLinker_ (int retain_cafs)
barf("ghciInsertSymbolTable failed");
}
- // Redurect newCAF to newRetainedCAF if retain_cafs is true.
+ // Redirect newCAF to newRetainedCAF if retain_cafs is true.
if (! ghciInsertSymbolTable(WSTR("(GHCi built-in symbols)"), symhash,
MAYBE_LEADING_UNDERSCORE_STR("newCAF"),
retain_cafs ? newRetainedCAF : newGCdCAF,
diff --git a/rts/Trace.c b/rts/Trace.c
index bd4d332eac..dab7347e5c 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -461,7 +461,7 @@ void traceOSProcessInfo_(void) {
getpid());
#if !defined(cygwin32_HOST_OS) && !defined (mingw32_HOST_OS)
-/* Windows has no strong concept of process heirarchy, so no getppid().
+/* Windows has no strong concept of process hierarchy, so no getppid().
* In any case, this trace event is mainly useful for tracing programs
* that use 'forkProcess' which Windows doesn't support anyway.
*/