Commit 31a72d1a authored by Dave Cheney's avatar Dave Cheney Committed by Rob Pike

libmach: correct string comparison to revive 6cov on darwin

R=golang-dev, r, dsymonds, rsc1
CC=golang-dev
https://golang.org/cl/4277046
parent c5e474dd
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment