[asterisk-bugs] [Asterisk 0014090]: [patch] unable to set DAHDI_VMWI to lower level drivers

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 16 08:17:43 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14090 
====================================================================== 
Reported By:                alecdavis
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14090
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-16 03:44 CST
Last Modified:              2008-12-16 08:17 CST
====================================================================== 
Summary:                    [patch] unable to set DAHDI_VMWI to lower level
drivers
Description: 
The ioctl to set DAHDI_VMWI is missing an '&' in do_monitor
 res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res);

should be
 res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, &res);

As is the case with every other ioctl.



====================================================================== 

---------------------------------------------------------------------- 
 (0096437) svnbot (reporter) - 2008-12-16 08:17
 http://bugs.digium.com/view.php?id=14090#c96437 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 164602

U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r164602 | russell | 2008-12-16 08:17:43 -0600 (Tue, 16 Dec 2008) | 7 lines

Fix usage of the DAHDI_VMWI ioctl.

(closes issue http://bugs.digium.com/view.php?id=14090)
Reported by: alecdavis
Patches:
      chan_dahdi.VMWI_ioctl.diff.txt uploaded by alecdavis (license 585)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=164602 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-16 08:17 svnbot         Checkin                                      
2008-12-16 08:17 svnbot         Note Added: 0096437                          
======================================================================




More information about the asterisk-bugs mailing list