diff options
| author | Zhu Lingshan | 2015-12-16 05:40:40 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2016-01-11 09:39:28 +0100 |
| commit | 240125bc49d016da2f39637c205b04fc6ae6dcef (patch) | |
| tree | 897a664d1037e3a44f0d981bbcf9f8df4bbfcd38 /block | |
| parent | net: convert qemu_log to error_report, fix message (diff) | |
| download | qemu-240125bc49d016da2f39637c205b04fc6ae6dcef.tar.gz qemu-240125bc49d016da2f39637c205b04fc6ae6dcef.tar.xz qemu-240125bc49d016da2f39637c205b04fc6ae6dcef.zip | |
iscsi: fix readcapacity error message
fix:The error message for readcapacity 16 incorrectly mentioned
a readcapacity 10 failure, fixed the error message.
Signed-off-by: Zhu Lingshan <lszhu@suse.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'block')
| -rw-r--r-- | block/iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index bd1f1bfcd1..eb28ddcac3 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1270,7 +1270,7 @@ static void iscsi_readcapacity_sync(IscsiLun *iscsilun, Error **errp) && retries-- > 0); if (task == NULL || task->status != SCSI_STATUS_GOOD) { - error_setg(errp, "iSCSI: failed to send readcapacity10 command."); + error_setg(errp, "iSCSI: failed to send readcapacity10/16 command"); } else if (!iscsilun->block_size || iscsilun->block_size % BDRV_SECTOR_SIZE) { error_setg(errp, "iSCSI: the target returned an invalid " |
