Bug fix: Possible wrong result on Linux when translating /dev/sr address to /dev/sg
This commit is contained in:
parent
51f43127ac
commit
6fb158b56d
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2024.03.09.175618"
|
#define Cdrskin_timestamP "2024.04.27.162735"
|
||||||
|
@ -1141,7 +1141,7 @@ int burn_disc_erasable(struct burn_drive *d)
|
|||||||
void burn_drive_get_status_sig_handling(void)
|
void burn_drive_get_status_sig_handling(void)
|
||||||
{
|
{
|
||||||
/* --- Part of asynchronous signal handling --- */
|
/* --- Part of asynchronous signal handling --- */
|
||||||
/* The frequently used callx burn_drive_get_status*() may be used
|
/* The frequently used call burn_drive_get_status*() may be used
|
||||||
to react on messages from the libburn built-in signal handler.
|
to react on messages from the libburn built-in signal handler.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -2326,12 +2326,12 @@ int burn_drive_find_scsi_equiv(char *path, char adr[])
|
|||||||
burn_drive_adr_debug_msg(msg, NULL);
|
burn_drive_adr_debug_msg(msg, NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
sprintf(msg, "burn_drive_find_scsi_equiv( %s ) : (%d),%d,%d,%d,%d",
|
sprintf(msg, "burn_drive_find_scsi_equiv( %s ) : %d,%d,%d,%d,%d",
|
||||||
path, bus_no, host_no, channel_no, target_no, lun_no);
|
path, bus_no, host_no, channel_no, target_no, lun_no);
|
||||||
burn_drive_adr_debug_msg(msg, NULL);
|
burn_drive_adr_debug_msg(msg, NULL);
|
||||||
|
|
||||||
ret= burn_drive_convert_scsi_adr(-1, host_no, channel_no, target_no,
|
ret= burn_drive_convert_scsi_adr(bus_no, host_no, channel_no,
|
||||||
lun_no, adr);
|
target_no, lun_no, adr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user