summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-11 18:44:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-11 18:44:26 +0200
commit849353cad0ad2b0a2242d7048368e06d96ffdea4 (patch)
treeb96ea4d8f293ca6201e8de0f170286a43fb3e806 /proc
parent6d24bbbe8fb2e686516fd867e8bb7b8a07950891 (diff)
Fix spurious port deallocation
* proc/mgt.c (S_proc_exception_raise): On proc_exception_raise forwarding error, return MIG_NO_REPLY instead of 0, since the reply port may have been consumed, and the task is being terminated anyway.
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 5373d101..1180c700 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -499,7 +499,7 @@ S_proc_exception_raise (mach_port_t excport,
mach_port_destroy (mach_task_self (), thread);
- return 0;
+ return MIG_NO_REPLY;
}
}