scsi: Improve error messages more
commit6ee143a0a4f8b5c437ac327e3d694a6a0e5380ad
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Apr 2014 10:14:57 +0000 (28 12:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Apr 2014 11:38:00 +0000 (28 13:38 +0200)
tree366923073b5b9e74f164cbd3fc04f98b2e4f0dea
parent4bbeb8b173e8116851d5ececb93189ae34c68309
scsi: Improve error messages more

Remove the "scsi-block:" prefix for error messages as suggested
by Markus.

Improve the previous patch by making the message the same for both
scsi-block and scsi-generic, including the strerror() output in both
and making an explicit reference to SG_IO.  Also s/can not/cannot/.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c
hw/scsi/scsi-generic.c