- ret = pthread_create(&local_apps.ust_listener, NULL,
- ust_listener_thread, &local_apps);
-
+ ret = pthread_create(&global_apps.ust_listener, NULL,
+ ust_listener_thread, &global_apps);
+ if (ret) {
+ ERR("pthread_create global: %s", strerror(ret));
+ }