diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-19 20:21:12 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-19 20:21:12 +0000 |
commit | c768955afb2e5580eb779104e3900d981013dbcc (patch) | |
tree | 9aadcbf89ee6ad8c513de03e107b536ea23c30e8 /rts/hooks | |
parent | 3a886477def20cfaaacb87a784917b5c6a3238b0 (diff) | |
download | haskell-c768955afb2e5580eb779104e3900d981013dbcc.tar.gz |
Improve the "Stack space overflow" error; fixes trac #3296
Diffstat (limited to 'rts/hooks')
-rw-r--r-- | rts/hooks/StackOverflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c index 0a1a23a65b..4313702a84 100644 --- a/rts/hooks/StackOverflow.c +++ b/rts/hooks/StackOverflow.c @@ -12,6 +12,6 @@ void StackOverflowHook (lnat stack_size) /* in bytes */ { - fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size); + fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize -RTS' to increase it.\n", stack_size); } |