Bug 27213

Summary: Suspicious variable hiding in acdioctl
Product: Base System Reporter: Thomas Quinot <thomas>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Thomas Quinot 2001-05-08 21:40:00 UTC
	In the CDIOCREADAUDIO case of acdioctl, a new variable
	"error" is declared which hides the declaration at the
	top of acdioctl. Consequently, 0 is always returned instead
	of the value set within the case.
Comment 1 dwmalone freebsd_committer freebsd_triage 2001-05-09 11:14:27 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Looks like one for Soren.
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2001-05-09 13:13:51 UTC
State Changed
From-To: open->closed


Fixed in -current, MFC will follow later. 

BTW, the CDIOCREADAUDIO ioctl is deprecated, its no longer needed 
for reading oddsector sizes, this can be done via the normal 
read routines.