提交 87c81cd5 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 c88bf572
......@@ -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 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册