summaryrefslogtreecommitdiff
path: root/src/libmach/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach/darwin.c')
-rw-r--r--src/libmach/darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/darwin.c b/src/libmach/darwin.c
index 7ee6f7ace..d44fd5612 100644
--- a/src/libmach/darwin.c
+++ b/src/libmach/darwin.c
@@ -579,7 +579,7 @@ machregrw(Map *map, Seg *seg, uvlong addr, void *v, uint n, int isr)
if(!isr)
thread_resume(thread);
rerrstr(buf, sizeof buf);
- if(strcmp(buf, "send invalid dest") == 0)
+ if(strstr(buf, "send invalid dest") != nil)
werrstr("process exited");
else
werrstr("thread_get_state: %r");