Re: CD_Rom problems (fwd)

From: Jens Axboe (axboe@suse.de)
Date: Wed Jul 12 2000 - 14:48:02 EST


On Wed, Jul 12 2000, Richard B. Johnson wrote:
> > if (stats && CDC_SELECT_DISC)
> ^^ Will nearly always be true.

> if (stats & CDC_SELECT_DISC)
> printf("Success!\n");

Right, naturally. I believe he had problems using the cdchange program,
which is correct.

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:15 EST