提交 0742c931 编写于 作者: D Daniel Veillard

* src/xml.c: another patch from David Lutterkort fixing a typo

  when generating physical block devices descriptions.
Daniel
上级 a7201161
Sat Mar 4 09:59:13 CET 2006 Daniel Veillard <veillard@redhat.com>
* src/xml.c: another patch from David Lutterkort fixing a typo
when generating physical block devices descriptions.
Sat Mar 4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com> Sat Mar 4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com>
* libvirt.spec.in: applied patch from David Lutterkort adding * libvirt.spec.in: applied patch from David Lutterkort adding
......
...@@ -656,9 +656,9 @@ virDomainParseXMLDiskDesc(xmlNodePtr node, virBufferPtr buf) { ...@@ -656,9 +656,9 @@ virDomainParseXMLDiskDesc(xmlNodePtr node, virBufferPtr buf) {
virBufferVSprintf(buf, "(uname 'file:%s')", source); virBufferVSprintf(buf, "(uname 'file:%s')", source);
else if (typ == 1) { else if (typ == 1) {
if (source[0] == '/') if (source[0] == '/')
virBufferVSprintf(buf, "(uname 'phys:%s')", source); virBufferVSprintf(buf, "(uname 'phy:%s')", source);
else else
virBufferVSprintf(buf, "(uname 'phys:/dev/%s')", source); virBufferVSprintf(buf, "(uname 'phy:/dev/%s')", source);
} }
if (ro == 0) if (ro == 0)
virBufferVSprintf(buf, "(mode 'w')"); virBufferVSprintf(buf, "(mode 'w')");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册