X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fantithread%2Ftest%2Frun-tell_parent.c;h=f3c17e9aee3a10eb65f5fdc985d25a1d4e05120d;hb=9626551dcc5363146ae0be598ff3575cb5f40da5;hp=a38f8c913a35c21d614ac7cdbcff6b227dbb4838;hpb=36e8b652d0aa045e6e427dc3851da24472ed6a95;p=ccan diff --git a/ccan/antithread/test/run-tell_parent.c b/ccan/antithread/test/run-tell_parent.c index a38f8c91..f3c17e9a 100644 --- a/ccan/antithread/test/run-tell_parent.c +++ b/ccan/antithread/test/run-tell_parent.c @@ -21,8 +21,8 @@ int main(int argc, char *argv[]) assert(atp); pid = talloc(at_pool_ctx(atp), int); assert(pid); - ok1((char *)pid >= (char *)atp->pool - && (char *)pid < (char *)atp->pool + atp->poolsize); + ok1((char *)pid >= (char *)atp->p->pool + && (char *)pid < (char *)atp->p->pool + atp->p->poolsize); at = at_run(atp, test, pid); assert(at);