mirror of
https://github.com/golang/go
synced 2024-11-12 08:50:22 -07:00
libmach: correct string comparison to revive 6cov on darwin
R=golang-dev, r, dsymonds, rsc1 CC=golang-dev https://golang.org/cl/4277046
This commit is contained in:
parent
c5e474dd88
commit
31a72d1a53
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user