Uploaded forgotten part of revision 245
This commit is contained in:
parent
3b16ef699f
commit
1fe7f68b43
@ -371,6 +371,7 @@ void burn_drive_cancel(struct burn_drive *d)
|
|||||||
pthread_mutex_unlock(&d->access_lock);
|
pthread_mutex_unlock(&d->access_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NIX
|
||||||
int burn_drive_get_block_types(struct burn_drive *d,
|
int burn_drive_get_block_types(struct burn_drive *d,
|
||||||
enum burn_write_types write_type)
|
enum burn_write_types write_type)
|
||||||
{
|
{
|
||||||
@ -379,6 +380,7 @@ int burn_drive_get_block_types(struct burn_drive *d,
|
|||||||
(write_type <= BURN_WRITE_RAW));
|
(write_type <= BURN_WRITE_RAW));
|
||||||
return d->block_types[write_type];
|
return d->block_types[write_type];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void strip_spaces(char *str)
|
static void strip_spaces(char *str)
|
||||||
{
|
{
|
||||||
@ -966,7 +968,7 @@ int burn_abort_pacifier(void *handle, int patience, int elapsed)
|
|||||||
if(handle!=NULL)
|
if(handle!=NULL)
|
||||||
prefix= handle;
|
prefix= handle;
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\r%sABORT : Waiting for drive to finish since %d seconds (%d max)",
|
"\r%sABORT : Waiting for drive to finish ( %d s, %d max)",
|
||||||
(char *) prefix, elapsed, patience);
|
(char *) prefix, elapsed, patience);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user