aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_mp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_mp3.c')
-rw-r--r--apps/app_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c
index 688be6a00..41e27f9b3 100644
--- a/apps/app_mp3.c
+++ b/apps/app_mp3.c
@@ -108,7 +108,7 @@ static int timed_read(int fd, void *data, int datalen, int timeout)
struct pollfd fds[1];
fds[0].fd = fd;
fds[0].events = POLLIN;
- res = poll(fds, 1, timeout);
+ res = ast_poll(fds, 1, timeout);
if (res < 1) {
ast_log(LOG_NOTICE, "Poll timed out/errored out with %d\n", res);
return -1;