diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 14:17:45 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 14:17:45 +0000 |
commit | 33d2c8c8150f92dea0e4e77415d1e40ad83bf914 (patch) | |
tree | fa1fc2a604eb424f784c1fa12dab76ea6ef47074 | |
parent | 192f2916cf9eab154c1f86c2a103ee0264112868 (diff) |
Fix usage of the DAHDI_VMWI ioctl.
(closes issue #14090)
Reported by: alecdavis
Patches:
chan_dahdi.VMWI_ioctl.diff.txt uploaded by alecdavis (license 585)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164602 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_dahdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index b3a728752..b2ea67824 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -8165,7 +8165,7 @@ static void *do_monitor(void *data) res = has_voicemail(last); if (last->msgstate != res) { /* Set driver resources for signalling VMWI */ - res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res); + res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, &res); if (res2) { /* TODO: This message will ALWAYS be generated on some cards; any way to restrict it to those cards where it is interesting? */ ast_debug(3, "Unable to control message waiting led on channel %d: %s\n", last->channel, strerror(errno)); |