rt: Fix typo

This commit is contained in:
Brian Anderson 2012-04-09 16:26:23 -07:00
parent 596376ea55
commit 564d8e09c7

View File

@ -521,7 +521,7 @@ rust_task::new_stack(size_t requested_sz) {
if (!unwinding && used_stack > max_stack) {
LOG_ERR(this, task, "task %" PRIxPTR " ran out of stack", this);
fail();
} else if (unwinding && used_stack > max_stack) {
} else if (unwinding && used_stack > max_stack * 2) {
LOG_ERR(this, task,
"task %" PRIxPTR " ran out of stack during unwinding", this);
fail();