- use correct mutex_init call for interface lock

This commit is contained in:
MelwareDE 2005-10-09 14:11:48 +00:00
parent 39461de014
commit 69f777c23b
1 changed files with 1 additions and 1 deletions

View File

@ -4127,7 +4127,7 @@ int mkif(struct ast_capi_conf *conf)
}
memset(tmp, 0, sizeof(struct ast_capi_pvt));
ast_pthread_mutex_init(&(tmp->lock),NULL);
ast_mutex_init(&tmp->lock);
if (i == 0) {
snprintf(tmp->name, sizeof(tmp->name) - 1, "%s-pseudo-D", conf->name);