diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 8cd20296dba42736cc29dcf251b29fa8cbd84cd6..bcf6dd8ad80830cd01510f301d3aac734a8a9eb3 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -531,7 +531,7 @@ static int setformat(struct chan_oss_pvt *o, int mode) res = ioctl(fd, SNDCTL_DSP_SPEED, &fmt); if (res < 0) { - ast_log(LOG_WARNING, "Failed to set audio device to mono\n"); + ast_log(LOG_WARNING, "Failed to set sample rate to %d\n", desired); return -1; } if (fmt != desired) {