Tweaks to make libthread tell Valgrind about its stack limits,

so that Valgrind can detect stack overflow for me.
This commit is contained in:
rsc 2004-04-21 19:29:04 +00:00
parent cdd61ab0ae
commit a3785ca2cc
7 changed files with 60 additions and 8 deletions

View file

@ -277,7 +277,7 @@ static void
channelsize(Channel *c, int sz)
{
if(c->e != sz){
fprint(2, "expected channel with elements of size %d, got size %d",
fprint(2, "expected channel with elements of size %d, got size %d\n",
sz, c->e);
abort();
}