Files
libiscsi/lib
Peter Lieven b5210a1e31 sync: fix return value for various sync commands
all sync commands that return an integer value are
supposed to return a negative value on error.
However, state.status is positive non-zero on error.
Fix this by returning -1 if the state.status is
not SCSI_STATUS_GOOD.

Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
2017-01-23 15:40:09 +01:00
..
2017-01-05 14:39:15 +01:00
2016-11-14 17:28:31 +01:00
2017-01-05 14:41:21 +01:00
2017-01-08 12:57:12 -08:00