Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 159015
Collapse All | Expand All

(-)../cdemu-0.8-old/cdemu_core.c (-2 / +2 lines)
Lines 486-496 static int cdemu_ioctl(struct cdrom_devi Link Here
486
			}
486
			}
487
			if (cmd == CDROMREADRAW) {
487
			if (cmd == CDROMREADRAW) {
488
				tmp = generic_file_read(vc->backing_file, (void*)arg, CD_FRAMESIZE_RAW, &position);
488
				tmp = do_sync_read(vc->backing_file, (void*)arg, CD_FRAMESIZE_RAW, &position);
489
				if (tmp != CD_FRAMESIZE_RAW)
489
				if (tmp != CD_FRAMESIZE_RAW)
490
					dprintk("only read %i bytes\n",tmp);
490
					dprintk("only read %i bytes\n",tmp);
491
			} else {	/*CDROMREADCOOKED*/
491
			} else {	/*CDROMREADCOOKED*/
492
				tmp = generic_file_read(vc->backing_file, (void*)arg, CD_FRAMESIZE, &position);
492
				tmp = do_sync_read(vc->backing_file, (void*)arg, CD_FRAMESIZE, &position);
493
				if (tmp != CD_FRAMESIZE)
493
				if (tmp != CD_FRAMESIZE)
494
					dprintk("only read %i bytes\n",tmp);
494
					dprintk("only read %i bytes\n",tmp);
495
			}
495
			}

Return to bug 159015