diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
commit | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (patch) | |
tree | 3ef530baa80cdf29436ba981f5783be6b4d2202b /src/libmach/darwin.c | |
parent | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (diff) | |
download | golang-7b15ed9ef455b6b66c6b376898a88aef5d6a9970.tar.gz |
Imported Upstream version 2011.04.13upstream/2011.04.13
Diffstat (limited to 'src/libmach/darwin.c')
-rw-r--r-- | src/libmach/darwin.c | 2 |
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"); |