summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'unwind.c')
-rw-r--r--unwind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unwind.c b/unwind.c
index 36c1a1e0..43be43fb 100644
--- a/unwind.c
+++ b/unwind.c
@@ -880,7 +880,8 @@ static void call_copy_handlers(uw_frame_t *upto, int parent)
static val revive_cont(val dc, val arg)
{
- struct cont *cont = coerce(struct cont *, cobj_handle(dc, sys_cont_s));
+ val self = lit("revive-cont");
+ struct cont *cont = coerce(struct cont *, cobj_handle(self, dc, sys_cont_s));
if (arg == sys_cont_free_s) {
free(cont->stack);