Commit 52b92a37 authored by Artur Bergman's avatar Artur Bergman

merge r4168

git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@4169 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ecff5b15
......@@ -78,7 +78,7 @@ Lck__Lock(struct lock *lck, const char *p, const char *f, int l)
return;
}
r = pthread_mutex_trylock(&ilck->mtx);
assert(r == 0 || errno == EBUSY);
assert(r == 0 || r == EBUSY);
if (r) {
VSL(SLT_Debug, 0, "MTX_CONTEST(%s,%s,%d,%s)", p, f, l, ilck->w);
AZ(pthread_mutex_lock(&ilck->mtx));
......
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