More BSD enhancements
[asterisk/asterisk.git] / channels / chan_oss.c
index ffbbbde..7199d33 100755 (executable)
@@ -245,7 +245,7 @@ static void *sound_thread(void *unused)
                        if (sounddev > max)
                                max = sounddev;
                }
-               res = select(max + 1, &rfds, &wfds, NULL, NULL);
+               res = ast_select(max + 1, &rfds, &wfds, NULL, NULL);
                if (res < 1) {
                        ast_log(LOG_WARNING, "select failed: %s\n", strerror(errno));
                        continue;