mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-23 06:32:58 +00:00
scsi_command() really return error code in case of error...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
5d0c15c516
commit
6e9f924edb
@ -82,10 +82,12 @@ int scsi_command(int target, unsigned char* cdb, int count, TIB_t* tib)
|
||||
}
|
||||
}
|
||||
|
||||
complete:
|
||||
err = SCSIComplete(&stat, &message, COMPLETION_TIMEOUT);
|
||||
if (err != noErr)
|
||||
return err;
|
||||
|
||||
return noErr;
|
||||
complete:
|
||||
SCSIComplete(&stat, &message, COMPLETION_TIMEOUT);
|
||||
return err;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user