Avoided to mention autoformatting in message about missing -outdev at -commit

This commit is contained in:
Thomas Schmitt 2012-04-06 17:38:34 +00:00
parent 3bbdf6702f
commit 194ef1fbe9
2 changed files with 5 additions and 5 deletions

View File

@ -641,15 +641,15 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
if(out_cs == NULL) if(out_cs == NULL)
Xorriso_get_local_charset(xorriso, &out_cs, 0); Xorriso_get_local_charset(xorriso, &out_cs, 0);
ret= Xorriso_get_drive_handles(xorriso, &dinfo, &drive,
"on attempt to write", 2);
if(ret<=0)
goto ex;
if(!(flag & 1)) { if(!(flag & 1)) {
ret= Xorriso_auto_format(xorriso, 0); ret= Xorriso_auto_format(xorriso, 0);
if(ret <=0 ) if(ret <=0 )
{ret= 0; goto ex;} {ret= 0; goto ex;}
} }
ret= Xorriso_get_drive_handles(xorriso, &dinfo, &drive,
"on attempt to write", 2);
if(ret<=0)
goto ex;
s= isoburn_disc_get_status(drive); s= isoburn_disc_get_status(drive);
if(xorriso->out_drive_handle == xorriso->in_drive_handle) { if(xorriso->out_drive_handle == xorriso->in_drive_handle) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.04.02.192028" #define Xorriso_timestamP "2012.04.06.173904"