New formatting parameter "size". Sorry for changing API. Function is a week old.

This commit is contained in:
2007-01-06 12:08:57 +00:00
parent f6b751c4bd
commit ab51d551d3
11 changed files with 26 additions and 17 deletions

View File

@ -470,13 +470,13 @@ void burn_disc_erase_sync(struct burn_drive *d, int fast)
}
void burn_disc_format_sync(struct burn_drive *d, int flag)
void burn_disc_format_sync(struct burn_drive *d, off_t size, int flag)
{
int ret;
d->cancel = 0;
d->busy = BURN_DRIVE_FORMATTING;
ret = d->format_unit(d, 0);
ret = d->format_unit(d, (off_t) 0, 0);
if (ret <= 0)
d->cancel = 1;
/* reset the progress */