summaryrefslogtreecommitdiff
path: root/channels/chan_modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_modem.c')
-rwxr-xr-xchannels/chan_modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c
index fb4f236e1..ffbdfde80 100755
--- a/channels/chan_modem.c
+++ b/channels/chan_modem.c
@@ -746,7 +746,7 @@ static struct ast_channel *modem_request(char *type, int format, void *data)
p = p->next;
}
if (!p)
- ast_log(LOG_WARNING, "Requested device '%s' does not exist\n", p->dev);
+ ast_log(LOG_WARNING, "Requested device '%s' does not exist\n", dev);
ast_pthread_mutex_unlock(&iflock);
return tmp;