diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-10 22:22:10 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-10 22:22:10 +0200 |
commit | 05364975aff0bfaca1b5fb23963cee7d2201f99a (patch) | |
tree | cd2c6b12d3d716444e2a680a403d116a8105cf32 /extras/scsi_id/scsi_id.c | |
parent | 52b375bc3bf07e4901b09707b05ee380bf6680bb (diff) |
scsi_id: the fallback fix broke error handling
Diffstat (limited to 'extras/scsi_id/scsi_id.c')
-rw-r--r-- | extras/scsi_id/scsi_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c index 5eb95e890d..bc942fac58 100644 --- a/extras/scsi_id/scsi_id.c +++ b/extras/scsi_id/scsi_id.c @@ -551,7 +551,7 @@ static int set_inq_values(struct scsi_id_device *dev_scsi, const char *path) retval = scsi_std_inquiry(dev_scsi, path); if (retval) - return retval; + return retval; set_str(vendor_str, dev_scsi->vendor, sizeof(vendor_str)); set_str(model_str, dev_scsi->model, sizeof(model_str)); |