Commit e959fbd2 authored by Cedric Roux's avatar Cedric Roux

minor fix

parent ac058586
...@@ -228,7 +228,7 @@ fapi_interface_t *init_fapi(void) ...@@ -228,7 +228,7 @@ fapi_interface_t *init_fapi(void)
return NULL; return NULL;
} }
for (i = 0; i < N; i++) { for (i = 0; i < N_IDs; i++) {
if (pthread_mutex_init(&ret->mutex[i], NULL)) { if (pthread_mutex_init(&ret->mutex[i], NULL)) {
LOG_E(MAC, "init_fapi: mutex init error\n"); LOG_E(MAC, "init_fapi: mutex init error\n");
exit(1); exit(1);
......
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