Fix a wrong error message thrown to user

* src/qemu/qemu_driver.c: qemuDomainUpdateDeviceFlags() is not disk
  specific as the message suggests
This commit is contained in:
Hu Tao 2011-03-09 20:09:25 +08:00 committed by Daniel Veillard
parent 3dfd4ea398
commit 83d35233a9

View File

@ -4209,8 +4209,8 @@ static int qemuDomainUpdateDeviceFlags(virDomainPtr dom,
default: default:
qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED,
_("disk device type '%s' cannot be updated"), _("device type '%s' cannot be updated"),
virDomainDiskDeviceTypeToString(dev->data.disk->device)); virDomainDeviceTypeToString(dev->type));
break; break;
} }