aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_oss.c')
-rw-r--r--channels/chan_oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index b79115312..088a4e285 100644
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -1540,7 +1540,7 @@ static struct chan_oss_pvt *store_config(struct ast_config *cfg, char *ctg)
ast_log(LOG_ERROR, "Unable to create pipe\n");
goto error;
}
- ast_pthread_create(&o->sthread, NULL, sound_thread, o);
+ ast_pthread_create_background(&o->sthread, NULL, sound_thread, o);
/* link into list of devices */
if (o != &oss_default) {
o->next = oss_default.next;