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
ee72cb740e
commit
63e45b51b0
@ -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…
x
Reference in New Issue
Block a user