Remove the error var, it hides the real one.
PR 27213. BTW the CDIOCREADAUDIO ioctl is deprecated, its not longer needed and was an ugly hack from start on.
This commit is contained in:
parent
a7cc1aa05f
commit
1029023aa3
@ -812,7 +812,7 @@ acdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
|
||||
int32_t lba;
|
||||
caddr_t buffer, ubuf = args->buffer;
|
||||
int8_t ccb[16];
|
||||
int frames, error = 0;
|
||||
int frames;
|
||||
|
||||
if (!cdp->toc.hdr.ending_track) {
|
||||
error = EIO;
|
||||
|
Loading…
Reference in New Issue
Block a user