diff options
Diffstat (limited to 'apps/app_nbscat.c')
-rw-r--r-- | apps/app_nbscat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_nbscat.c b/apps/app_nbscat.c index dd071ef0e..112e01297 100644 --- a/apps/app_nbscat.c +++ b/apps/app_nbscat.c @@ -96,7 +96,7 @@ static int timed_read(int fd, void *data, int datalen) struct pollfd fds[1]; fds[0].fd = fd; fds[0].events = POLLIN; - res = poll(fds, 1, 2000); + res = ast_poll(fds, 1, 2000); if (res < 1) { ast_log(LOG_NOTICE, "Selected timed out/errored out with %d\n", res); return -1; |