Trivial compile fixes.

This commit is contained in:
Vreixo Formoso Lopes 2007-10-02 07:34:19 +00:00
parent 23cb7b9816
commit 04eb760556

View File

@ -228,7 +228,7 @@ static
int isoburn_prepare_disc_aux(struct burn_drive *d, struct burn_disc **disc, int isoburn_prepare_disc_aux(struct burn_drive *d, struct burn_disc **disc,
struct isoburn_source_opts *opts, int new_img) struct isoburn_source_opts *opts, int new_img)
{ {
struct burn_source *wsrc, fifo_src; struct burn_source *wsrc, *fifo_src;
struct burn_session *session; struct burn_session *session;
struct burn_track *track; struct burn_track *track;
struct isoburn *o; struct isoburn *o;
@ -240,7 +240,7 @@ int isoburn_prepare_disc_aux(struct burn_drive *d, struct burn_disc **disc,
if(ret<0) if(ret<0)
return -1; return -1;
state = isoburn_disc_get_status(drive); state = isoburn_disc_get_status(d);
if (state != BURN_DISC_BLANK && state != BURN_DISC_APPENDABLE) { if (state != BURN_DISC_BLANK && state != BURN_DISC_APPENDABLE) {
/* unsuitable status */ /* unsuitable status */
return -2; return -2;