mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
qemuBuildDriveStr: s/virBufferEscapeString/virBufferAsprintf/
We are using it to print a value that can't be NULL and does not need any escaping anyway. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c88bf57262
commit
87c81cd5ee
@ -3724,7 +3724,7 @@ qemuBuildDriveStr(virConnectPtr conn,
|
||||
disk->geometry.sectors);
|
||||
|
||||
if (disk->geometry.trans != VIR_DOMAIN_DISK_TRANS_DEFAULT)
|
||||
virBufferEscapeString(&opt, ",trans=%s", trans);
|
||||
virBufferAsprintf(&opt, ",trans=%s", trans);
|
||||
}
|
||||
|
||||
if (disk->serial &&
|
||||
|
Loading…
Reference in New Issue
Block a user