mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-03 01:32:31 +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);
|
err = SCSIComplete(&stat, &message, COMPLETION_TIMEOUT);
|
||||||
if (err != noErr)
|
if (err != noErr)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
return noErr;
|
return noErr;
|
||||||
|
complete:
|
||||||
|
SCSIComplete(&stat, &message, COMPLETION_TIMEOUT);
|
||||||
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user