Merged revisions 76934 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r76934 | tilghman | 2007-07-24 17:11:33 -0500 (Tue, 24 Jul 2007) | 2 lines

Oops, res contains the error code, not errno.  I was wondering why a mutex was reporting "No such file or directory"...

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@76937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-07-24 22:12:43 +00:00
parent c7336cd3ff
commit e5c3ef3388

View File

@@ -273,7 +273,7 @@ static inline int __ast_pthread_mutex_lock(const char *filename, int lineno, con
}
} else {
__ast_mutex_logger("%s line %d (%s): Error obtaining mutex: %s\n",
filename, lineno, func, strerror(errno));
filename, lineno, func, strerror(res));
DO_THREAD_CRASH;
}